« Previous | Next » 

Revision c8969ede

IDc8969eded252058e90e91f12f75f32aceae46ec9

Added by Paolo Bonzini over 11 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences