qemu-patch-raspberry4/nbd
Daniel P. Berrange 26afa868db nbd: make server compliant with fixed newstyle spec
If the client does not request the fixed new style protocol,
then we should only accept NBD_OPT_EXPORT_NAME. All other
options are only valid when fixed new style has been activated.

The qemu-nbd client doesn't currently request fixed new style
protocol, but this change won't break qemu-nbd, because it
fortunately only ever uses NBD_OPT_EXPORT_NAME, so was never
triggering the non-compliant server behaviour.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-9-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-02-16 17:14:24 +01:00
..
client.c nbd: invert client logic for negotiating protocol version 2016-02-16 17:14:08 +01:00
common.c nbd: convert to using I/O channels for actual socket I/O 2016-02-16 17:13:57 +01:00
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
nbd-internal.h nbd: convert to using I/O channels for actual socket I/O 2016-02-16 17:13:57 +01:00
server.c nbd: make server compliant with fixed newstyle spec 2016-02-16 17:14:24 +01:00