virtio-9p: fix any_layout
commitcd4bfbb20d957a480032e2626ef1188b62c74d00
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Jul 2015 17:57:53 +0000 (23 20:57 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Jul 2015 08:24:48 +0000 (27 11:24 +0300)
treed80ca64ff6258da6129086af842cd3eef6cef88b
parent7882080388be5088e72c425b02223c02e6cb4295
virtio-9p: fix any_layout

virtio pci allows any device to have a modern interface,
this in turn requires ANY_LAYOUT support.
Fix up ANY_LAYOUT for virtio-9p.

Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
hw/9pfs/virtio-9p.c