projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a47eb01
)
vfio: Use error_report() instead of error_printf() for errors
author
Markus Armbruster
<armbru@redhat.com>
Wed, 3 Aug 2016 11:37:53 +0000
(13:37 +0200)
committer
Markus Armbruster
<armbru@redhat.com>
Mon, 8 Aug 2016 07:01:18 +0000
(09:01 +0200)
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>
hw/vfio/platform.c
patch
|
blob
|
history
diff --git
a/hw/vfio/platform.c
b/hw/vfio/platform.c
index 1798a00a3f3589116acccfa95e4c1de73ea7c810..a559e7b659eb358c9afb2aadbddced7830856d2a 100644
(file)
--- 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 {