commit | e5ee7750f991b2d5e7d6a29ba957fab215132772 | [log] [tgz] |
---|---|---|
author | Elie Kheirallah <khei@google.com> | Fri Jan 20 18:28:03 2023 +0000 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 26 21:48:51 2023 +0000 |
tree | 97819b839ab74607becc57f27b1d6811ffc54963 | |
parent | 376c6892cf7d12d4030bfd08c61ff6a2c98a5b32 [diff] |
devices: implement sleep/wake for non-virtio devices Add sleep and wake for devices in crosvm. Bat: Add sleep/wake. Debugcon: No thread is started, empty sleep/wake implementations. ioapic: No thread is started, empty sleep/wake implementations. pic: No thread is started, empty sleep/wake implementations. userspace: Add sleep/wake. Sleep retrieves information from the thread back to the userspace object. pvpanic: Added Suspendable implementation. Empty sleep/wake. vfio_pci: Add sleep/wake. Sleep retrieves information from the thread back to the VfioPciDevice object. pflash: No thread is started, empty sleep/wake implementations. pit: Add sleep/wake. vmwdt: Add sleep/wake. Bug=b:232437513 Test=tools/presubmit --all Change-Id: I30cd19a0c02939fd78cb6d58832ca49314e73982 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4184257 Reviewed-by: Steven Moreland <smoreland@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Elie Kheirallah <khei@google.com>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the ChromeOS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on ChromeOS devices.