mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Error for PciDeviceError and PciRootError
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP <philipp.schuster@sap.com>
This commit is contained in:
committed by
Rob Bradford
parent
b2993fb2fa
commit
a007b750ff
@@ -265,11 +265,11 @@ pub enum DeviceManagerError {
|
||||
|
||||
/// Cannot allocate PCI BARs
|
||||
#[error("Cannot allocate PCI BARs: {0}")]
|
||||
AllocateBars(pci::PciDeviceError),
|
||||
AllocateBars(#[source] pci::PciDeviceError),
|
||||
|
||||
/// Could not free the BARs associated with a PCI device.
|
||||
#[error("Could not free the BARs associated with a PCI device: {0}")]
|
||||
FreePciBars(pci::PciDeviceError),
|
||||
FreePciBars(#[source] pci::PciDeviceError),
|
||||
|
||||
/// Cannot register ioevent.
|
||||
#[error("Cannot register ioevent: {0}")]
|
||||
@@ -285,7 +285,7 @@ pub enum DeviceManagerError {
|
||||
|
||||
/// Cannot add PCI device
|
||||
#[error("Cannot add PCI device")]
|
||||
AddPciDevice(pci::PciRootError),
|
||||
AddPciDevice(#[source] pci::PciRootError),
|
||||
|
||||
/// Cannot open persistent memory file
|
||||
#[error("Cannot open persistent memory file")]
|
||||
|
||||
Reference in New Issue
Block a user