From: Laurent Vivier <Laurent.Vivier@bull.net>
To: Andre Przywara <andre.przywara@amd.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH][RFC] To mount qemu disk image on the host
Date: Fri, 25 Jan 2008 22:17:10 +0100 [thread overview]
Message-ID: <1201295830.4288.5.camel@frecb07144> (raw)
In-Reply-To: <479A3E1B.2020500@amd.com>
Le vendredi 25 janvier 2008 à 20:52 +0100, Andre Przywara a écrit :
> Laurent Vivier wrote:
> > Le vendredi 25 janvier 2008 à 09:18 -0600, Anthony Liguori a écrit :
> >> Laurent Vivier wrote:
> >>> Hi,
> >>>
> >>> this patch allows to mount qemu disk images on the host.
> >>>
> >
> > Sorry, I didn't see you did a similar work 19 months ago.
> >> Note, the general problem with this approach is that mounting a NBD
> >> device locally with write access can lead to dead locks. If you look
> >> through the mailing list archives, you'll find a number of conversations
> >> on the topic.
> I sometimes ago was also working on a nbd implementation for
> qcow-images, but I came to the same deadlock conclusion. (At least
> theoretically, I didn't finish this as I ran first into debugging
> problems and secondly out of time). But IMHO this only applies to
> localhost mounts, real network mounting should work (this is actually
As it seems a problem related to the page cache, perhaps we could open
the QCOW file with O_DIRECT to avoid the problem ?
Laurent
--
----------------- Laurent.Vivier@bull.net ------------------
"La perfection est atteinte non quand il ne reste rien à
ajouter mais quand il ne reste rien à enlever." Saint Exupéry
prev parent reply other threads:[~2008-01-25 21:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-25 12:30 [Qemu-devel] [PATCH][RFC] To mount qemu disk image on the host Laurent Vivier
2008-01-25 12:48 ` Johannes Schindelin
2008-01-25 12:58 ` Laurent Vivier
2008-01-25 13:37 ` Alexander Graf
2008-01-25 13:51 ` Laurent Vivier
2008-01-25 15:11 ` Anthony Liguori
2008-01-25 15:18 ` Anthony Liguori
2008-01-25 15:49 ` Laurent Vivier
2008-01-25 19:52 ` Andre Przywara
2008-01-25 20:27 ` Anthony Liguori
2008-01-25 20:55 ` Daniel P. Berrange
2008-01-25 21:17 ` Laurent Vivier [this message]
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=1201295830.4288.5.camel@frecb07144 \
--to=laurent.vivier@bull.net \
--cc=andre.przywara@amd.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).