qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Disk image shared and exclusive locks.


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH] Disk image shared and exclusive locks.
Date: Tue, 8 Dec 2009 10:16:26 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Dec 08, 2009 at 10:48:17AM +0100, Kevin Wolf wrote:
> Am 07.12.2009 15:31, schrieb Richard W.M. Jones:
> > So to be clear, the use case is that all the other VMs must be shut
> > down, then the VM which wants to commit will upgrade its lock and
> > commit, and then all the other VMs will restart?  I agree this should
> > avoid corruption, although it sounds like something which is fairly
> > unlikely to be done in practice.
> 
> I can't see how the file system of VM2 could possibly survive if VM1
> commits its changes. Even if VM2 or even both VMs are shut down while
> we're corrupting the base image.

Yes, I see, you're correct - even if the VMs are shut down, committing
to the backing file will result in corruption.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




reply via email to

[Prev in Thread] Current Thread [Next in Thread]