]> Git Repo - qemu.git/commit
vfio/pci: Pass an error object to vfio_populate_device
authorEric Auger <[email protected]>
Mon, 17 Oct 2016 16:57:57 +0000 (10:57 -0600)
committerAlex Williamson <[email protected]>
Mon, 17 Oct 2016 16:57:57 +0000 (10:57 -0600)
commit2312d907ddcdeffa45350e5960be46d6105b8ec2
tree2fc52f667a490c1cb0c95c4f209ea7420ca7088c
parentcde4279baa246fdfadb06d021e3b8d0a0234879f
vfio/pci: Pass an error object to vfio_populate_device

Pass an error object to prepare for migration to VFIO-PCI realize.
The returned value will be removed later on.

The case where error recovery cannot be enabled is not converted into
an error object but directly reported through error_report, as before.
Populating an error instead would cause the future realize function to
fail, which is not wanted.

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
hw/vfio/pci.c
This page took 0.02354 seconds and 4 git commands to generate.