commit | 4d854e80b42940670ce32a56923870586833ce26 | [log] [tgz] |
---|---|---|
author | Tinghao Zhang <tinghao.zhang@intel.corp-partner.google.com> | Wed Jun 15 14:11:30 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 17:44:21 2022 |
tree | b472be5bc35cda87262a48adb8c1822d9e0e752d | |
parent | 0e1faf989894bae6aa5f38d9116de64151b440a5 [diff] |
devices: pci: support hotplugged pci bus to be removed from tree When pcie switch get removed from the system, we need to remove their pci buses. This patch adds a new bool field in PciBus structure to mark it as a hotplug bus and add support to remove a pci bus from a pci bus tree. Also some other helper functions is added for hotplug out usage. BUG=b:199986018 TEST=./tools/presubmit Change-Id: I71064127345424bf050d993f60f9d766a299de8b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3709793 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@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 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.