This series converts VFIO-PCI to realize. It also aims at improving
the error reporting in case of QMP hot-plug.
Before the series, a device_add failure would have reported:
{"error": {"class": "GenericError", "desc": "Device initialization
failed"}}.
Now the actual error cause is reported.
Eric Auger (3):
vfio/pci: conversion to realize
vfio/pci: pass an error object to vfio_populate_device
vfio/pci: pass an error object to vfio_msix_early_setup
hw/vfio/pci.c | 150 ++++++++++++++++++++++++++-------------------------
hw/vfio/trace-events | 2 +-
2 files changed, 78 insertions(+), 74 deletions(-)
--
1.9.1