From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 3/4] virtio-pci error logging
Date: Fri, 14 Aug 2009 10:36:07 +0200 [thread overview]
Message-ID: <1250238968-2114-3-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1250238968-2114-1-git-send-email-kraxel@redhat.com>
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(-)
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);
--
1.6.2.5
next prev parent reply other threads:[~2009-08-14 8:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 8:36 [Qemu-devel] [PATCH 1/4] qdev: add return value to init() callbacks Gerd Hoffmann
2009-08-14 8:36 ` [Qemu-devel] [PATCH 2/4] add qemu_error() + friends Gerd Hoffmann
2009-08-14 8:36 ` Gerd Hoffmann [this message]
2009-08-14 8:36 ` [Qemu-devel] [PATCH 4/4] qdev error logging Gerd Hoffmann
2009-08-21 16:16 ` Markus Armbruster
2009-08-21 16:16 ` [Qemu-devel] [PATCH 1/4] qdev: add return value to init() callbacks Markus Armbruster
-- strict thread matches above, loose matches on Subject: below --
2009-08-26 13:19 [Qemu-devel] [PATCH 0/4] qdev: init() callback retval + error reporting Gerd Hoffmann
2009-08-26 13:19 ` [Qemu-devel] [PATCH 3/4] virtio-pci error logging Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1250238968-2114-3-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).