| Submitter | Paolo Bonzini |
|---|---|
| Date | Nov. 28, 2012, 3:30 p.m. |
| Message ID | <1354116604-32298-3-git-send-email-pbonzini@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/202482/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/blockdev-nbd.c b/blockdev-nbd.c index d1721a3..6b26bbf 100644 --- a/blockdev-nbd.c +++ b/blockdev-nbd.c @@ -99,7 +99,7 @@ void qmp_nbd_server_add(const char *device, bool has_writable, bool writable, } if (!has_writable) { - writable = true; + writable = false; } if (bdrv_is_read_only(bs)) { writable = false;