devices: pvpanic: Add pci configuration for pvpanic device

Implemetion of BusDevice and PciDevice trait for pvpanic device.

Pvpanic device can be implemented as an ISA device or as a
PCI device, we choose PCI device for now.

Signed-off-by: Yi Wang <foxywang@tencent.com>
This commit is contained in:
Yi Wang
2023-06-14 21:04:07 +08:00
committed by Rob Bradford
parent ef67eab8c3
commit 3acb988c1a
4 changed files with 179 additions and 5 deletions
Generated
+3
View File
@@ -473,13 +473,16 @@ dependencies = [
"arch",
"bitflags 2.3.3",
"byteorder",
"event_monitor",
"hypervisor",
"libc",
"log",
"pci",
"thiserror",
"tpm",
"versionize",
"versionize_derive",
"vm-allocator",
"vm-device",
"vm-memory",
"vm-migration",