fdc: Switch to byte-based block access
commita7a5b7c0fc4caeeda59b4bc91d467c4c98db79cf
authorEric Blake <eblake@redhat.com>
Fri, 6 May 2016 16:26:35 +0000 (6 10:26 -0600)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:09 +0000 (12 15:22 +0200)
treed5755d1d1c23ae7672de52bd756a62aefa83df5c
parentd00000f90193cdbed32a16bcc9b5b4e9ff9d7ab2
fdc: Switch to byte-based block access

Sector-based blk_write() should die; switch to byte-based
blk_pwrite() instead.  Likewise for blk_read().

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