Re: [Qemu-devel] [PATCH v4 rebased] block: more read-only changes, related to backing files

2010-02-19 Thread Anthony Liguori
On 02/14/2010 05:39 AM, Naphtali Sprei wrote: Open backing file read-only where possible Upgrade backing file to read-write during commit, back to read-only after commit If upgrade fail, back to read-only. If also fail, "disconnect" the drive. Signed-off-by: Naphtali Sprei Applied. Tha

[Qemu-devel] [PATCH v4 rebased] block: more read-only changes, related to backing files

2010-02-14 Thread Naphtali Sprei
Open backing file read-only where possible Upgrade backing file to read-write during commit, back to read-only after commit If upgrade fail, back to read-only. If also fail, "disconnect" the drive. Signed-off-by: Naphtali Sprei --- block.c | 83 +++