]> git.proxmox.com Git - mirror_qemu.git/commit - block/nbd.c
nbd: Convert to byte-based interface
authorEric Blake <eblake@redhat.com>
Fri, 15 Jul 2016 23:23:07 +0000 (17:23 -0600)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 20 Jul 2016 13:24:25 +0000 (14:24 +0100)
commit70c4fb2648f31fcfd69296dd4f2b1b664572270f
treecbde0bb66c05e9d2ccf9521ea1e092d182538e76
parent02aefe43cb437ae437d5df88b7f2951f21d62ead
nbd: Convert to byte-based interface

The NBD protocol doesn't have any notion of sectors, so it is
a fairly easy conversion to use byte-based read and write.

Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1468624988-423-19-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/nbd-client.c
block/nbd-client.h
block/nbd.c
include/block/nbd.h