projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfea793
)
virtio: add property to enable packed virtqueue
author
Jason Wang
<jasowang@redhat.com>
Fri, 25 Oct 2019 08:35:27 +0000
(10:35 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 25 Oct 2019 11:46:22 +0000
(07:46 -0400)
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Message-Id: <
20191025083527
.30803-9-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/virtio/virtio.h
patch
|
blob
|
history
diff --git
a/include/hw/virtio/virtio.h
b/include/hw/virtio/virtio.h
index d123d5b18133ccec3f0517397c8a11be47d9e742..40ddeafadbee3900dff9cb5864920a569d798f12 100644
(file)
--- a/
include/hw/virtio/virtio.h
+++ b/
include/hw/virtio/virtio.h
@@
-285,7
+285,9
@@
typedef struct VirtIORNGConf VirtIORNGConf;
DEFINE_PROP_BIT64("any_layout", _state, _field, \
VIRTIO_F_ANY_LAYOUT, true), \
DEFINE_PROP_BIT64("iommu_platform", _state, _field, \
- VIRTIO_F_IOMMU_PLATFORM, false)
+ VIRTIO_F_IOMMU_PLATFORM, false), \
+ DEFINE_PROP_BIT64("packed", _state, _field, \
+ VIRTIO_F_RING_PACKED, false)
hwaddr virtio_queue_get_desc_addr(VirtIODevice *vdev, int n);
bool virtio_queue_enabled(VirtIODevice *vdev, int n);