projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac7531e
)
virtio-pci error logging
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 14 Aug 2009 08:36:07 +0000
(10:36 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:43:33 +0000
(20:43 -0500)
Use the new qemu_error() function for virtio-blk-pci.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c
patch
|
blob
|
history
diff --git
a/hw/virtio-pci.c
b/hw/virtio-pci.c
index 50765d1ba7e409b5e99ef458727d83c7120c8bd5..f812ab7a61469543d66ce158d8daa62e9d55d9a6 100644
(file)
--- a/
hw/virtio-pci.c
+++ b/
hw/virtio-pci.c
@@
-434,7
+434,7
@@
static int virtio_blk_init_pci(PCIDevice *pci_dev)
proxy->class_code = PCI_CLASS_STORAGE_SCSI;
if (!proxy->dinfo) {
-
fprintf(stderr, "
drive property not set\n");
+
qemu_error("virtio-blk-pci:
drive property not set\n");
return -1;
}
vdev = virtio_blk_init(&pci_dev->qdev, proxy->dinfo);