qemu/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 dataplane: allow virtio-1 devices 2015-06-10 18:15:04 +02:00
Makefile.objs dataplane: endianness-aware accesses 2015-02-16 15:07:16 +00:00
vhost-backend.c vhost: Remove superfluous '\n' around error_report() 2015-03-10 08:15:33 +03:00
vhost-user.c vhost-user: add multi queue support 2015-06-01 14:18:55 +02:00
vhost.c vhost: 64 bit features 2015-06-10 18:15:04 +02:00
virtio-balloon.c virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
virtio-bus.c virtio: device_plugged() can fail 2015-05-31 16:44:12 +02:00
virtio-mmio.c virtio: allow virtio-1 queue layout 2015-06-10 18:15:04 +02:00
virtio-pci.c virtio: generation counter support 2015-06-10 18:15:05 +02:00
virtio-pci.h virtio-pci: initial virtio 1.0 support 2015-06-10 18:15:05 +02:00
virtio-rng.c virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
virtio.c virtio: add modern config accessors 2015-06-10 18:15:05 +02:00