summaryrefslogtreecommitdiffstats
path: root/dump.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-11-18 12:21:18 +0100
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:31:12 +0100
commitaadf99a792be864c8feb1cc61e2c8fd225fa7c01 (patch)
treeba97adf470f6ec5af31e77d0b54bf5ba9ed248ed /dump.c
parente140177d9cd067050004be6f725c3a0750ccdd94 (diff)
downloadhqemu-aadf99a792be864c8feb1cc61e2c8fd225fa7c01.zip
hqemu-aadf99a792be864c8feb1cc61e2c8fd225fa7c01.tar.gz
nbd: Use BlockBackend internally
With all externally visible functions changed to use BlockBackend, this patch makes nbd use BlockBackend for everything internally as well. While touching them, substitute 512 by BDRV_SECTOR_SIZE in the calls to blk_read(), blk_write() and blk_co_discard(). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1416309679-333-6-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud