From: Markus Armbruster Date: Wed, 3 Aug 2016 11:37:53 +0000 (+0200) Subject: vfio: Use error_report() instead of error_printf() for errors X-Git-Tag: v2.7.1~121^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=fea1c0999a67217207ece63a25ed88c796c19515;p=mirror_qemu.git vfio: Use error_report() instead of error_printf() for errors Cc: Alex Williamson Signed-off-by: Markus Armbruster Message-Id: <1470224274-31522-4-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake --- diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index 1798a00a3f..a559e7b659 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -496,7 +496,7 @@ static int vfio_populate_device(VFIODevice *vbasedev) irq.index = i; ret = ioctl(vbasedev->fd, VFIO_DEVICE_GET_IRQ_INFO, &irq); if (ret) { - error_printf("vfio: error getting device %s irq info", + error_report("vfio: error getting device %s irq info", vbasedev->name); goto irq_err; } else {