From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org, anthony.lannuzel@hynesim.org
Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Subject: Re: [Qemu-devel] bidirectional data exchange between guest and host without network
Date: Wed, 8 Jul 2009 14:34:00 +0100 [thread overview]
Message-ID: <200907081434.02498.paul@codesourcery.com> (raw)
In-Reply-To: <42816.89.3.148.243.1247047400.squirrel@webmail.aql.fr>
>Yes, the thing is, I can not use the network, as it is used for another
>purpose, so I think I have to content myself with the basic linux
>filesystems.
That's just not going to work. Block devices don't provide the features
necessary to implement a shared filesystem, you need some other mechanism
(i.e. network) for handling locking and coherence. You can't take a regular
filesystem and expect it to work. You have to use a proper network/clustered
filesystem.
In theory SCSI has locking facilities, however this is not implemented by qemu
(and probably not by your underlying storage), and AFAIK aren't used by any of
the current cluster filesystems.
> I tried using a fat partition with the "sync" mount option, to avoid
> caching on both sides (still using virtio on /dev/sda8 on the host and
> /dev/vda on the guest).
>...
> Is there anything related to virtio that prevents this from working, as I
> think the mount option provides me with a filesystem that fulfils the
> conditions you just told me ?
I believe "sync" only disables the write cache.
Paul
next prev parent reply other threads:[~2009-07-08 13:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 8:45 [Qemu-devel] bidirectional data exchange between guest and host without network Anthony Lannuzel
2009-07-07 9:02 ` Jamie Lokier
2009-07-07 13:11 ` Anthony Lannuzel
2009-07-07 14:12 ` Lennart Sorensen
2009-07-07 14:39 ` Jamie Lokier
2009-07-08 10:03 ` Anthony Lannuzel
2009-07-08 13:31 ` Lennart Sorensen
2009-07-11 0:01 ` Jamie Lokier
2009-07-08 13:34 ` Paul Brook [this message]
2009-07-08 13:57 ` Jamie Lokier
2009-07-09 7:51 ` Anthony Lannuzel
2009-07-11 0:04 ` Jamie Lokier
2009-07-12 9:02 ` Richard W.M. Jones
2009-07-13 22:38 ` Jamie Lokier
2009-07-14 5:54 ` Richard W.M. Jones
2009-07-16 7:46 ` Amit Shah
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=200907081434.02498.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=anthony.lannuzel@hynesim.org \
--cc=lsorense@csclub.uwaterloo.ca \
--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).