devices, vmm: Add legacy CMOS device

Based off of crosvm revision b5237bbcf074eb30cf368a138c0835081e747d71
add a CMOS device. This environments that can't use KVM clock to get the
current time (e.g. Windows and EFI.)

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-10-02 15:21:54 +01:00
parent 47367eb61b
commit 8ea4145f98
6 changed files with 139 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ default = []
acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
mmio_support = ["vm-virtio/mmio_support"]
cmos = ["devices/cmos"]
[dependencies]
acpi_tables = { path = "../acpi_tables", optional = true }