diff options
author | Eric Auger <eric.auger@redhat.com> | 2016-10-17 10:57:57 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-10-17 10:57:57 -0600 |
commit | 2312d907ddcdeffa45350e5960be46d6105b8ec2 (patch) | |
tree | 2fc52f667a490c1cb0c95c4f209ea7420ca7088c /memory_mapping.c | |
parent | cde4279baa246fdfadb06d021e3b8d0a0234879f (diff) | |
download | qemu-2312d907ddcdeffa45350e5960be46d6105b8ec2.zip qemu-2312d907ddcdeffa45350e5960be46d6105b8ec2.tar.gz qemu-2312d907ddcdeffa45350e5960be46d6105b8ec2.tar.bz2 |
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 <eric.auger@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions