From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHTq9-0001Wx-8e for qemu-devel@nongnu.org; Fri, 08 Jan 2016 05:00:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHTq6-0005T4-IM for qemu-devel@nongnu.org; Fri, 08 Jan 2016 05:00:13 -0500 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:58909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHTq6-0005Sf-8W for qemu-devel@nongnu.org; Fri, 08 Jan 2016 05:00:10 -0500 Received: from localhost by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Jan 2016 10:00:08 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id D07391B08067 for ; Fri, 8 Jan 2016 10:00:45 +0000 (GMT) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u08A03um10092992 for ; Fri, 8 Jan 2016 10:00:03 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u08A03vt026233 for ; Fri, 8 Jan 2016 03:00:03 -0700 From: Cornelia Huck Date: Fri, 8 Jan 2016 11:00:00 +0100 Message-Id: <1452247200-78069-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH] virtio: fix error message for number of queues List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mst@redhat.com Cc: Cornelia Huck , qemu-devel@nongnu.org There's no such thing as "PCI queues" in the virtio core. Signed-off-by: Cornelia Huck --- 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