]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev-nbd.c
nbd-server-add: Fix the default for 'writable'
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 28 Nov 2012 10:46:39 +0000 (11:46 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Nov 2012 10:56:39 +0000 (11:56 +0100)
commitf3313d23a061648c99609a4c127ed13c820f831d
tree47695b402bcdd4dfd6edccdceac9597a2d54521a
parent8ffaaba0e939f2a284bb23d1f6f7f9e2104a97e2
nbd-server-add: Fix the default for 'writable'

The documentation to this monitor command tells, that 'writable'
argument is optional and defaults to false. However, the code sets
true as the default. But since some applications may already been
using this, it's safer to fix the code and not documentation which
would break those applications.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
blockdev-nbd.c