diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-02-10 18:41:06 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-16 17:14:24 +0100 |
commit | 26afa868dbd8641070c0a8d851b082b603c04fa1 (patch) | |
tree | af567dd067938490c0c153465dda08ba947230d6 /softmmu_template.h | |
parent | f72d705f0de9ec49248e72cf888624994f09eda2 (diff) |
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 'softmmu_template.h')
0 files changed, 0 insertions, 0 deletions