mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
virtio: add property to enable packed virtqueue
Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Eugenio Pérez <[email protected]> Reviewed-by: Jens Freimann <[email protected]> Message-Id: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
This commit is contained in:
1 parent
dfea793045
commit
74b3e46630
1 file changed
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user