diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-07-22 12:32:25 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-07-27 11:24:48 +0300 |
commit | 09999a5f7fc8e3636feda4358a79a25a09467594 (patch) | |
tree | 4eb87a705932b27c47659ba61e551689b34ca96e /include/hw/virtio/virtio.h | |
parent | cd4bfbb20d957a480032e2626ef1188b62c74d00 (diff) | |
download | hqemu-09999a5f7fc8e3636feda4358a79a25a09467594.zip hqemu-09999a5f7fc8e3636feda4358a79a25a09467594.tar.gz |
virtio: set any_layout in virtio core
Exceptions:
- virtio-blk
- compat machine types
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio.h')
-rw-r--r-- | include/hw/virtio/virtio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h index 0634c15..ff91711 100644 --- a/include/hw/virtio/virtio.h +++ b/include/hw/virtio/virtio.h @@ -218,7 +218,9 @@ typedef struct VirtIORNGConf VirtIORNGConf; DEFINE_PROP_BIT64("event_idx", _state, _field, \ VIRTIO_RING_F_EVENT_IDX, true), \ DEFINE_PROP_BIT64("notify_on_empty", _state, _field, \ - VIRTIO_F_NOTIFY_ON_EMPTY, true) + VIRTIO_F_NOTIFY_ON_EMPTY, true), \ + DEFINE_PROP_BIT64("any_layout", _state, _field, \ + VIRTIO_F_ANY_LAYOUT, true) hwaddr virtio_queue_get_desc_addr(VirtIODevice *vdev, int n); hwaddr virtio_queue_get_avail_addr(VirtIODevice *vdev, int n); |