]> git.proxmox.com Git - mirror_qemu.git/commit - hw/scsi/virtio-scsi.c
virtio-scsi: use virtio wrappers to access headers
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Jun 2014 17:48:53 +0000 (19:48 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jun 2014 16:39:42 +0000 (19:39 +0300)
commit8c085dbe6d1e3fb3f18cdd05e67980a529a3ba4a
tree6bafc36a3b7ce818e14f2fbbe1982b1dbf78b972
parent783d189725d937f8ed9dae68c7e35b6afa0691da
virtio-scsi: use virtio wrappers to access headers

Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
[ pass VirtIODevice * to memory accessors,
  converted new tswap locations to virtio_tswap,
  Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Signed-off-by: Greg Kurz <gkurz@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/scsi/virtio-scsi.c