virtio: Switch to byte-based aio block access
commitb5772fdde40a8200fc20db4d5da672f1ce149d68
authorEric Blake <eblake@redhat.com>
Fri, 6 May 2016 16:26:33 +0000 (6 10:26 -0600)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:09 +0000 (12 15:22 +0200)
tree23732e1413f0f03ca8054d1b72678e279a6811ae
parent03c90063ccf5fd18b01448a8b23923769ab2ee21
virtio: Switch to byte-based aio block access

Sector-based blk_aio_readv() and blk_aio_writev() should die; switch
to byte-based blk_aio_preadv() and blk_aio_pwritev() instead.

The trace is modified at the same time, and nb_sectors is now
unused.  Fix a comment typo while in the vicinity.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/virtio-blk.c
trace-events