Skip to contentSkip to conversation

virtio: fix error message for number of queues

PATCH New Cornelia Huck 1 participant 1 message Jan 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio: fix error message for number of queues

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

---
This just bugged me when I was looking at the code :)

---
 hw/virtio/virtio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio.c +1 -1
index 1edef59..77b4f34 100644
@@ -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;
     }
 
Signature · 1 line
2.3.9