OSDN Git Service

nbd: make client request fixed new style if advertised
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:07 +0000 (18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:14:33 +0000 (17:14 +0100)
commite2a9d9a39d55fc3a0df387df05497b4b47d2dd83
tree4de6f340bb74a85d908e85881a87b825514b5763
parent26afa868dbd8641070c0a8d851b082b603c04fa1
nbd: make client request fixed new style if advertised

If the server advertises support for the fixed new style
negotiation, the client should in turn enable new style.
This will allow the client to negotiate further NBD
options besides the export name.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-10-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd/client.c