[libvirt] [PATCH] blockdev: preserve readonly and snapshot states across media changes

Kevin Wolf kwolf at redhat.com
Fri Sep 21 07:11:22 UTC 2012


Am 21.09.2012 01:20, schrieb Kevin Shanahan:
> If readonly=on is given at device creation time, the ->readonly flag
> needs to be set in the block driver state for this device so that
> readonly-ness is preserved across media changes (qmp change command).
> Similarly, to preserve the snapshot property requires ->open_flags to
> be correct.
> 
> Signed-off-by: Kevin Shanahan <kmshanah at disenchant.net>

Thanks, applied to the block branch.

Kevin




More information about the libvir-list mailing list