]> git.proxmox.com Git - mirror_qemu.git/commit - nbd/client.c
nbd: use "" as a default export name if none provided
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:10 +0000 (18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:16:20 +0000 (17:16 +0100)
commit69b49502d8b7b582af79fac5bef7b7ccc2dc9c1e
tree0ac79d0ed86626639bf6dc38d1efb687d8865341
parent9344e5f554690d5e379b5426daebadef7c87baf5
nbd: use "" as a default export name if none provided

If the user does not provide an export name and the server
is running the new style protocol, where export names are
mandatory, use "" as the default export name if the user
has not specified any. "" is defined in the NBD protocol
as the default name to use in such scenarios.

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