summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-05-29 14:15:31 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-05-31 16:50:10 +0200
commit87b3bd1c858e6cacac4d403da9109ec3a04fe9d0 (patch)
treedb821ce6da2d155218db126912cc8cff3c72234f /include/hw
parentd820331a0b47cbbdc409b435545aea25e19b57ad (diff)
downloadhqemu-87b3bd1c858e6cacac4d403da9109ec3a04fe9d0.zip
hqemu-87b3bd1c858e6cacac4d403da9109ec3a04fe9d0.tar.gz
virtio: rename VIRTIO_PCI_QUEUE_MAX to VIRTIO_QUEUE_MAX
VIRTIO_PCI_QUEUE_MAX is not only used for pci, so rename it be generic. Cc: Amit Shah <amit.shah@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/virtio/virtio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index dd92fe4..4411dca 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -48,7 +48,7 @@ typedef struct VirtQueueElement
struct iovec out_sg[VIRTQUEUE_MAX_SIZE];
} VirtQueueElement;
-#define VIRTIO_PCI_QUEUE_MAX 64
+#define VIRTIO_QUEUE_MAX 64
#define VIRTIO_NO_VECTOR 0xffff
OpenPOWER on IntegriCloud