diff options
author | Max Reitz <mreitz@redhat.com> | 2014-11-18 12:21:18 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-12-10 10:31:12 +0100 |
commit | aadf99a792be864c8feb1cc61e2c8fd225fa7c01 (patch) | |
tree | ba97adf470f6ec5af31e77d0b54bf5ba9ed248ed /migration.c | |
parent | e140177d9cd067050004be6f725c3a0750ccdd94 (diff) | |
download | hqemu-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 'migration.c')
0 files changed, 0 insertions, 0 deletions