devices, vmm: Use a bit field for ACPI GED interrupt type

Use independent bits for storing whether there is a CPU or memory device
changed when reporting changes via ACPI GED interrupt. This prevents a
later notification squashing an earlier one and ensure that hotplugging
both CPU and memory at the same time succeeds.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-01-14 10:17:23 +00:00
committed by Samuel Ortiz
parent d2d1248342
commit 7310ab6fa7
6 changed files with 27 additions and 19 deletions
+1
View File
@@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["The Chromium OS Authors"]
[dependencies]
bitflags = ">=1.2.1"
byteorder = "1.3.2"
epoll = ">=4.0.1"
kvm-bindings = "0.2.0"