summaryrefslogtreecommitdiff
path: root/hw/vfio/pci.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2014-12-22 10:37:27 -0700
committerAlex Williamson <alex.williamson@redhat.com>2014-12-22 10:37:27 -0700
commitdcbfc5cefb22e9219f8253dba87de33104ca73fe (patch)
tree72e4da179918dc396976545763c34861b8fd0efb /hw/vfio/pci.c
parente2c7d025ada047a3f0225f89ff36626d1bd46e47 (diff)
downloadqemu-dcbfc5cefb22e9219f8253dba87de33104ca73fe.zip
vfio: Cleanup error_report()s
With the conversion to tracepoints, a couple previous DPRINTKs are now quite a bit more visible and are really just informational. Remove these and add a bit more description to another. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/pci.c')
-rw-r--r--hw/vfio/pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index e380959dab..b4e73d1f35 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -2801,8 +2801,6 @@ static int vfio_pci_hot_reset(VFIOPCIDevice *vdev, bool single)
tmp = container_of(vbasedev_iter, VFIOPCIDevice, vbasedev);
if (vfio_pci_host_match(&host, &tmp->host)) {
if (single) {
- error_report("vfio: found another in-use device "
- "%s\n", vbasedev_iter->name);
ret = -EINVAL;
goto out_single;
}
@@ -2815,7 +2813,6 @@ static int vfio_pci_hot_reset(VFIOPCIDevice *vdev, bool single)
}
if (!single && !multi) {
- error_report("vfio: No other in-use devices for multi hot reset\n");
ret = -EINVAL;
goto out_single;
}