diff options
| author | Daniel P. Berrange | 2016-02-10 19:41:06 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-02-16 17:14:24 +0100 |
| commit | 26afa868dbd8641070c0a8d851b082b603c04fa1 (patch) | |
| tree | af567dd067938490c0c153465dda08ba947230d6 /include/exec | |
| parent | nbd: invert client logic for negotiating protocol version (diff) | |
| download | qemu-26afa868dbd8641070c0a8d851b082b603c04fa1.tar.gz qemu-26afa868dbd8641070c0a8d851b082b603c04fa1.tar.xz qemu-26afa868dbd8641070c0a8d851b082b603c04fa1.zip | |
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>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
