Message ID | 1250238968-2114-3-git-send-email-kraxel@redhat.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 71c3868..6cf79bc 100644 --- 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);
Use the new qemu_error() function for virtio-blk-pci. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- hw/virtio-pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)