cloud-hypervisor/vmm
Sebastien Boeuf 0b00442022 vmm: acpi: Allow reading from B0EJ field
Windows guests read this field upon PCI device ejection. Let's make sure
we don't return an error as this is valid. We simply return an empty u32
since the ejection is done right away upon write access, which means
there's no pending ejection that might be reported to the guest.

Here is the error that was shown during PCI device removal:

ERROR:vmm/src/device_manager.rs:3960 -- Accessing unknown location at
base 0x7ffffee000, offset 0x8

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-04-21 16:11:54 +01:00
..
src vmm: acpi: Allow reading from B0EJ field 2021-04-21 16:11:54 +01:00
Cargo.toml vmm: Update 'micro_http' crate branch to 'main' 2021-04-19 15:47:54 +01:00