vfio/pci: Conversion to realize
commit1a22aca1d0071bdc4abc1a72894a13f0076b2404
authorEric Auger <eric.auger@redhat.com>
Mon, 17 Oct 2016 16:58:01 +0000 (17 10:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 17 Oct 2016 16:58:01 +0000 (17 10:58 -0600)
tree81639e580514afe3d9822eecc03a06e50bb98f5f
parent9bdbfbd50dfcc23252224112e8cbb720a8535d40
vfio/pci: Conversion to realize

This patch converts VFIO PCI to realize function.

Also original initfn errors now are propagated using QEMU
error objects. All errors are formatted with the same pattern:
"vfio: %s: the error description"

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>
hw/vfio/pci.c
hw/vfio/trace-events