diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-08-03 13:37:53 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-08-08 09:01:18 +0200 |
commit | fea1c0999a67217207ece63a25ed88c796c19515 (patch) | |
tree | a4fa5237202efbafd47c84bce9a9365acfc73c2a | |
parent | a47eb010983b98d41330878f8b3e3193da40e6ed (diff) | |
download | qemu-fea1c0999a67217207ece63a25ed88c796c19515.tar.gz qemu-fea1c0999a67217207ece63a25ed88c796c19515.tar.bz2 qemu-fea1c0999a67217207ece63a25ed88c796c19515.zip |
vfio: Use error_report() instead of error_printf() for errors
Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1470224274-31522-4-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
-rw-r--r-- | hw/vfio/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |