mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
d820331a0b
commit
87b3bd1c85
7 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue