[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 14/14] vfio: Cleanup error_report()s
From: |
Alex Williamson |
Subject: |
[Qemu-devel] [PULL 14/14] vfio: Cleanup error_report()s |
Date: |
Mon, 22 Dec 2014 13:44:34 -0700 |
User-agent: |
StGit/0.17-dirty |
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 <address@hidden>
---
hw/vfio/common.c | 2 +-
hw/vfio/pci.c | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index 4f15c86..cf483ff 100644
--- a/hw/vfio/common.c
+++ b/hw/vfio/common.c
@@ -566,7 +566,7 @@ static void vfio_kvm_device_add_group(VFIOGroup *group)
};
if (kvm_vm_ioctl(kvm_state, KVM_CREATE_DEVICE, &cd)) {
- error_report("KVM_CREATE_DEVICE: %m\n");
+ error_report("Failed to create KVM VFIO device: %m\n");
return;
}
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index e380959..b4e73d1 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;
}
- [Qemu-devel] [PULL 04/14] hw/vfio/pci: Rename VFIODevice into VFIOPCIDevice, (continued)
- [Qemu-devel] [PULL 04/14] hw/vfio/pci: Rename VFIODevice into VFIOPCIDevice, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 05/14] hw/vfio/pci: generalize mask/unmask to any IRQ index, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 06/14] hw/vfio/pci: introduce minimalist VFIODevice with fd, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 07/14] hw/vfio/pci: add type, name and group fields in VFIODevice, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 08/14] hw/vfio/pci: handle reset at VFIODevice, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 09/14] hw/vfio/pci: Introduce VFIORegion, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 10/14] hw/vfio/pci: split vfio_get_device, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 11/14] hw/vfio/pci: rename group_list into vfio_group_list, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 12/14] hw/vfio/pci: use name field in format strings, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 13/14] hw/vfio: create common module, Alex Williamson, 2014/12/22
- [Qemu-devel] [PULL 14/14] vfio: Cleanup error_report()s,
Alex Williamson <=
- [Qemu-devel] [PULL 03/14] vfio: move hw/misc/vfio.c to hw/vfio/pci.c Move vfio.h into include/hw/vfio, Alex Williamson, 2014/12/22
- Re: [Qemu-devel] [PULL 00/14] QEMU: VFIO updates, Peter Maydell, 2014/12/23