commit | f82f2dcfa03de997c5d5e7972afbd345d0d53edc | [log] [tgz] |
---|---|---|
author | Xiong Zhang <xiong.y.zhang@intel.corp-partner.google.com> | Fri May 21 16:54:12 2021 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 19 22:10:08 2021 +0000 |
tree | eca06ff35a6cd74b966611c48c6d53ba3093f612 | |
parent | f67785e9e42c5b2bd11d882b79bbbcab97fceeba [diff] |
devices:pcie: Add PcieRootPort into hotplug bus PcieRootPort implement hotplug_bus trait, it should be added into RunnableLinuxVm->hotplug_bus, so create pcie root port when RunnableLinuxVm->hotplug_bus is ready. Many hotplug bus may exist, when a hotplug device is added, is_match() should be called on each hotplug bus before attach that device to the bus. BUG=b:185084350 TEST=Boot a vm with passthrough device and check its function Change-Id: I89dbc091f336b3f9d0435b52963f7cf62d408a67 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2955570 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
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 Chrome OS 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 Chrome OS devices.