crosvm/arch
Daniel Verkamp 659252d103 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>
2023-06-13 18:31:36 +00:00
..
src devices: pci: propagate PciRoot add_device errors 2023-06-13 18:31:36 +00:00
Cargo.toml