virtio_config: endian conversion for v1.0
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 22 Oct 2014 13:59:01 +0000 (16:59 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:25 +0000 (12:05 +0200)
commit92e6d7438ee631aac85258ee3d4de8c860d8c32f
treebdec7feb1fcb7fd3bbfa563b4686f1b61a655f94
parent00e6f3d9d9e356dbf08369ffc4576f79438d51ea
virtio_config: endian conversion for v1.0

We (ab)use virtio conversion functions for device-specific
config space accesses.

Based on original patches by Cornelia and Rusty.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.com>
include/linux/virtio_config.h