<br><tt><font size=2>qemu-devel-bounces+oehmes=de.ibm.com@nongnu.org wrote
on 08/28/2007 04:13:02 AM:<br>
<br>
> Anthony Liguori wrote:<br>
> >> In the scenario you mention, libvirt should probably do a
sanity check for<br>
> >> this before letting you start the guest. libvirt already
supports the idea<br>
> >> of 'shared' disk images where two or more guests can be <br>
> optionally configured <br>
> >> to have write access - basically assumes the admin requesting
sharing knows<br>
> >> what they're doing.<br>
> >>     <br>
> ><br>
> > I think this is the right level myself.  Advisory locks
work okay but<br>
> > not all filesystems support them.  It's particularly nasty
when you have<br>
> > a clustered filesystem in the host.  I think it would do
more harm than<br>
> > good to have a feature like that was supposed to provide a safe-guard<br>
> > but then frequently didn't work.<br>
> >   <br>
> <br>
> There's still the unmanaged use case to worry about.  I think
qemu can <br>
> default to advisory locking, and management tools can do their own
<br>
> locking and always override qemu.<br>
> <br>
> It's too easy to kill an image by starting up another instance right
now.<br>
> <br>
</font></tt>
<br><tt><font size=2>i agree default should be advisory locking and a switch
to disable it ..</font></tt>
<br><tt><font size=2>would that be hard to implement ?</font></tt>
<br>
<br><tt><font size=2>thanks. Sven</font></tt>