diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-10-08 17:27:18 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-11-05 15:09:55 +0100 |
commit | 6c2e581d4d7751f035e9bac0384703879c8a1538 (patch) | |
tree | fa7435f4f6ef587d7df116606e0741d8c69e5e77 /block/vpc.c | |
parent | eaa2410f1ea864609090c0a5fda9e0ce9499da79 (diff) | |
download | qemu-6c2e581d4d7751f035e9bac0384703879c8a1538.zip qemu-6c2e581d4d7751f035e9bac0384703879c8a1538.tar.gz qemu-6c2e581d4d7751f035e9bac0384703879c8a1538.tar.bz2 |
nbd: Support auto-read-only option
If read-only=off, but auto-read-only=on is given, open a read-write NBD
connection if the server provides a read-write export, but instead of
erroring out for read-only exports, just degrade to read-only.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/vpc.c')
0 files changed, 0 insertions, 0 deletions