[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] blockdev: preserve readonly and snapshot states
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] blockdev: preserve readonly and snapshot states across media changes |
Date: |
Fri, 21 Sep 2012 09:11:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
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 <address@hidden>
Thanks, applied to the block branch.
Kevin