Revision c8969ede
ID | c8969eded252058e90e91f12f75f32aceae46ec9 |
nbd: fixes to read-only handling
We do not need BLKROSET if the kernel supports setting flags.
Also, always do BLKROSET even for a read-write export, otherwise
the read-only state remains "sticky" after the invocation of
"qemu-nbd -r".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted