]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/virtio.c
virtio: allow byte swapping for vring
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Jun 2014 17:40:16 +0000 (19:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jun 2014 16:39:42 +0000 (19:39 +0300)
commitcee3ca002855f87b78aaa7769efeb90321757e49
treebee9d959470b145cd53c5ae71f826e511b66ab15
parent0f5d1d2a49778863db54b4b1ac2dc008a8f21f11
virtio: allow byte swapping for vring

Quoting original text from Rusty: "This is based on a simpler patch by Anthony
Liguouri".

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
[ add VirtIODevice * argument to most helpers,
  Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c