qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] virtio: fix error message for number of queues


From: Cornelia Huck
Subject: [Qemu-devel] [PATCH] virtio: fix error message for number of queues
Date: Fri, 8 Jan 2016 11:00:00 +0100

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

Signed-off-by: Cornelia Huck <address@hidden>
---
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]