commit | 659252d10328bf4bd2e59ca573f30b9d8c8e14e3 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Fri Jun 02 13:50:43 2023 -0700 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 13 18:31:36 2023 +0000 |
tree | 0602ff82c687ca4c0989de6effde92c58a81460a | |
parent | 5fea452007ff183e9541fd9dfcb1e4e1d7b18115 [diff] |
devices: pci: propagate PciRoot add_device errors Rather than just printing an error and continuing, this makes the errors fatal when adding a PCI device with invalid configuration (e.g. an address on the wrong bus) at startup time. Hotplug errors are still considered non-fatal and execution continues in that case. BUG=None TEST=crosvm run --stub-pci-device 2:00.0,... Change-Id: Ia831cc1fc1ca1f04ad7e45dba5978671157a51b4 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4583465 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Ningyuan Wang <ningyuan@google.com> Commit-Queue: 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 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.