virtio: use standard-headers
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 16 Feb 2015 21:35:46 +0000 (22:35 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 12:04:03 +0000 (13:04 +0100)
commite9600c6ca9e9ecc123105e1e3660314fe821a4cb
tree659c627c52fe0eee027a4c2b0ea58363b8a979bf
parent4fbe0f322d5413482efbf9c0d2329fdc32bea6d1
virtio: use standard-headers

Drop a bunch of code duplicated from virtio_config.h and virtio_ring.h.
This makes us rename event index accessors which conflict,
as reusing the ones from virtio_ring.h isn't trivial.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
hw/9pfs/virtio-9p.h
hw/virtio/virtio.c
include/hw/virtio/virtio.h