qemu/include/hw/virtio
Michael S. Tsirkin adfb743c90 virtio: add modern config accessors
virtio 1.0 defines config space as LE,
as opposed to pre-1.0 which was native endian.

Add API for transports to execute word/dword accesses in
little endian format - will be useful for mmio
and pci (byte access is also wrapped, for completeness).

For simplicity, we still keep config in host native
endian format, byteswap to LE on guest access.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
2015-06-10 18:15:05 +02:00
..
dataplane virtio: use standard virtio_ring.h 2015-02-26 13:04:03 +01:00
vhost-backend.h virtio: Move extern declaration to header file 2014-08-09 00:06:32 +04:00
vhost-scsi.h vhost-scsi: add a property for booting 2015-02-11 21:47:52 +01:00
vhost.h vhost: 64 bit features 2015-06-10 18:15:04 +02:00
virtio-9p.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-access.h virtio: endianness checks for virtio 1.0 devices 2015-06-10 18:15:04 +02:00
virtio-balloon.h virtio-balloon: use standard headers 2015-02-26 13:04:03 +01:00
virtio-blk.h virtio-blk: correctly dirty guest memory 2015-04-08 10:39:18 +01:00
virtio-bus.h virtio: device_plugged() can fail 2015-05-31 16:44:12 +02:00
virtio-input.h virtio-input: emulated devices [device] 2015-05-29 10:30:40 +02:00
virtio-net.h virtio-net: Move DEFINE_VIRTIO_NET_FEATURES to virtio-net 2015-04-28 17:44:39 +02:00
virtio-rng.h virtio-rng: use standard-headers 2015-02-26 13:04:04 +01:00
virtio-scsi.h virtio-scsi: Move DEFINE_VIRTIO_SCSI_FEATURES to virtio-scsi 2015-04-28 17:44:40 +02:00
virtio-serial.h virtio: serial: expose a 'guest_writable' callback for users 2015-03-19 17:35:40 +05:30
virtio.h virtio: add modern config accessors 2015-06-10 18:15:05 +02:00