]> git.proxmox.com Git - qemu.git/commit - qemu-nbd.c
nbd: support feature negotiation
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Sep 2011 15:24:54 +0000 (17:24 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 Sep 2011 09:34:33 +0000 (11:34 +0200)
commitb90fb4b8f5cd01dfcf0e3b45c93977a2e3bdcc71
treeb56e1a33fbb71196fc78cc03d2d1c05b8674e5e3
parent530889ff95659d8fea81eb556e5706387fdddfa7
nbd: support feature negotiation

nbd supports writing flags in bytes 24...27 of the header,
and uses that for the read-only flag.  Add support for it
in qemu-nbd.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nbd.c
nbd.c
nbd.h
qemu-nbd.c