From: Avi Kivity <avi@qumranet.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org,
Fedora/Linux Management Tools <et-mgmt-tools@redhat.com>
Subject: Re: [Qemu-devel] Re: [et-mgmt-tools] Image Corruption Possible with qemu and qemu-kvm
Date: Tue, 28 Aug 2007 05:13:02 +0300 [thread overview]
Message-ID: <46D384AE.9080509@qumranet.com> (raw)
In-Reply-To: <1188248558.21696.1.camel@squirrel>
Anthony Liguori wrote:
>> In the scenario you mention, libvirt should probably do a sanity check for
>> this before letting you start the guest. libvirt already supports the idea
>> of 'shared' disk images where two or more guests can be optionally configured
>> to have write access - basically assumes the admin requesting sharing knows
>> what they're doing.
>>
>
> I think this is the right level myself. Advisory locks work okay but
> not all filesystems support them. It's particularly nasty when you have
> a clustered filesystem in the host. I think it would do more harm than
> good to have a feature like that was supposed to provide a safe-guard
> but then frequently didn't work.
>
There's still the unmanaged use case to worry about. I think qemu can
default to advisory locking, and management tools can do their own
locking and always override qemu.
It's too easy to kill an image by starting up another instance right now.
--
Any sufficiently difficult bug is indistinguishable from a feature.
next prev parent reply other threads:[~2007-08-28 2:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <46D2EC13.8020005@bppiac.hu>
[not found] ` <1188232650.25884.100.camel@localhost.localdomain>
[not found] ` <OFCAE928CF.4933C4AF-ONC1257344.006B3E8C-C1257344.006BB8A7@de.ibm.com>
2007-08-27 20:19 ` [Qemu-devel] Re: [et-mgmt-tools] Image Corruption Possible with qemu and qemu-kvm Sven Oehme
2007-08-27 20:27 ` Daniel P. Berrange
2007-08-27 20:37 ` Avi Kivity
2007-08-27 21:02 ` Anthony Liguori
2007-08-27 21:26 ` Daniel Veillard
2007-08-28 2:13 ` Avi Kivity [this message]
2007-08-29 12:44 ` Sven Oehme
2007-08-29 14:58 ` Paul Jakma
2007-08-29 15:23 ` Alexander Graf
2007-08-29 15:44 ` Paul Jakma
2007-09-01 15:23 ` Chris Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46D384AE.9080509@qumranet.com \
--to=avi@qumranet.com \
--cc=anthony@codemonkey.ws \
--cc=et-mgmt-tools@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).