]> git.proxmox.com Git - mirror_qemu.git/commit
m25p80: Switch to byte-based block access
authorEric Blake <eblake@redhat.com>
Fri, 6 May 2016 16:26:40 +0000 (10:26 -0600)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:09 +0000 (15:22 +0200)
commit243e6f69c129303cb7f161466e989722e9d7e02f
tree1246742c5e9553291c1e6d7551d564928595a698
parent12c125cba9c548929ccf4da2515e5b795c94afd9
m25p80: Switch to byte-based block access

Sector-based blk_read() should die; switch to byte-based
blk_pread() instead.

Likewise for blk_aio_readv() and blk_aio_writev().

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