vfio/pci: Report errors from qdev_unplug() via device request
commit35c7cb4caff66fe4c01711243d42de4445cb83e2
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 22 Feb 2017 20:19:58 +0000 (22 13:19 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 22 Feb 2017 20:19:58 +0000 (22 13:19 -0700)
tree05ab5e83f86991b1f9cd85f30652b654633fb921
parent796b288f7be875045670f963ce99991b3c8e96ac
vfio/pci: Report errors from qdev_unplug() via device request

Currently we ignore this error, report it with error_reportf_err()

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/vfio/pci.c