diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index a6aa4b4e4..887087502 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -1582,6 +1582,15 @@ impl Aml for PciDevSlot { vec![ &aml::Name::new("_SUN".into(), &sun), &aml::Name::new("_ADR".into(), &adr), + &aml::Method::new( + "_EJ0".into(), + 1, + true, + vec![&aml::MethodCall::new( + "\\_SB_.PHPR.PCEJ".into(), + vec![&aml::Path::new("_SUN")], + )], + ), ], ) .to_aml_bytes()