qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] virtio: fix error message for number of queues
@ 2016-01-08 10:00 Cornelia Huck
  0 siblings, 0 replies; only message in thread
From: Cornelia Huck @ 2016-01-08 10:00 UTC (permalink / raw)
  To: mst; +Cc: Cornelia Huck, qemu-devel

There's no such thing as "PCI queues" in the virtio core.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
This just bugged me when I was looking at the code :)
---
 hw/virtio/virtio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index 1edef59..77b4f34 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -1429,7 +1429,7 @@ int virtio_load(VirtIODevice *vdev, QEMUFile *f, int version_id)
     num = qemu_get_be32(f);
 
     if (num > VIRTIO_QUEUE_MAX) {
-        error_report("Invalid number of PCI queues: 0x%x", num);
+        error_report("Invalid number of virtqueues: 0x%x", num);
         return -1;
     }
 
-- 
2.3.9

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-08 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-08 10:00 [Qemu-devel] [PATCH] virtio: fix error message for number of queues Cornelia Huck

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).