qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jbrown106@phreaker.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Win98: how to exchange data with Linux
Date: Tue, 13 Jul 2004 22:26:11 -0400	[thread overview]
Message-ID: <20040714022611.GB6436@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <40F41A65.8050807@volny.cz>

On Tue, Jul 13, 2004 at 07:22:45PM +0200, Filip Navara wrote:
> Adrian Smarzewski wrote:
> [snip]
> 
> >It's a windows nt driver for ext2 partitions. maybe we could
> >change it so instead of writting files on real drive it will
> >pass commands to qemu? file system is not so important, but
> >this driver is lgpl'ed.
> 
> At first guys, you confuse file system drivers and storage drivers. The 
> file system drivers have de facto no knowledge on which disk are the 
> data located, (on Windows) they recieve an object and send Read/Write 
> requests to it (well, basicly, in reality there's also the cache manager 
> between them). At second, the idea can't work, even if you would have a 
> storage driver that uses some backdoor I/O port to access host disk, the 
> host OS can't access the same partition at the same time due to things 
> like caching (on both sides (guest/host)).
> 
> - Filip
> 
> 

Technically speaking, one could write a file system driver that talks to qemu
instead of going through a storage driver. (I didn't say it would be easy, just
barely possible.) Qemu could then translate attempts (to write a file on Windows
using this driver would cause qemu to write the file on linux's fs natively for
example). It is more work than its worth, but it is possible.

A modified user-net which emulated SMB protocol to the guest but did the i/o
natively on the host would do the same thing and be easier to implement.

Setting up tuntap or VDE is easiest of all. :)

> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

  parent reply	other threads:[~2004-07-14  2:30 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-12 21:56 [Qemu-devel] Win98: how to exchange data with Linux Mario Cazorzi
2004-07-12 22:12 ` Joe Menola
2004-07-13  1:23   ` Jim C. Brown
2004-07-13  2:03     ` Joe Menola
2004-07-13  2:51       ` /dev/tun Was: " Jim C. Brown
2004-07-13  3:15         ` Joe Menola
2004-07-15  2:10           ` Joe Menola
2004-07-15  2:49             ` Jim C. Brown
2004-07-16  1:01               ` Joe Menola
2004-07-16  1:39                 ` Jim C. Brown
2004-07-18 23:12                   ` Joe Menola
2004-07-12 22:25 ` John R. Hogerhuis
2004-07-13  7:24   ` vaise
2004-07-13 14:08     ` Sebastien Bechet
2004-07-13 14:18       ` Adrian Smarzewski
2004-07-13 14:46         ` Adrian Smarzewski
2004-07-13 17:22           ` Filip Navara
2004-07-13 17:45             ` John R. Hogerhuis
2004-07-13 17:58               ` Adrian Smarzewski
2004-07-13 18:11                 ` John R. Hogerhuis
2004-07-13 18:31                   ` Adrian Smarzewski
2004-07-14  2:42                     ` Jim C. Brown
2004-07-14  9:50                       ` Adrian Smarzewski
2004-07-14 10:04                         ` Antony T Curtis
2004-07-14 11:11                         ` Fabrice Bellard
2004-07-14 11:58                           ` Adrian Smarzewski
2004-07-14 14:01                             ` Adrian Smarzewski
2004-07-14 12:28                           ` Brad Watson
2004-07-14 12:46                             ` Adrian Smarzewski
2004-07-14 16:44                           ` John R. Hogerhuis
2004-07-15  0:38                             ` Leigh Dyer
2004-07-15  5:25                               ` John R. Hogerhuis
2004-07-15  5:38                                 ` Leigh Dyer
2004-07-14  2:34                 ` Jim C. Brown
2004-07-14  6:02               ` Jim C. Brown
2004-07-14  6:15                 ` Johannes Martin
2004-07-13 17:50             ` Adrian Smarzewski
2004-07-13 22:31             ` Sebastien Bechet
2004-07-14  2:26             ` Jim C. Brown [this message]
2004-07-14  3:15               ` Filip Navara
2004-07-14  9:54               ` Adrian Smarzewski
2004-07-14  9:55               ` Adrian Smarzewski
2004-07-14 10:14                 ` J. Mayer
2004-07-14  2:21       ` Jim C. Brown
2004-07-12 22:50 ` [Qemu-devel] " Robert Wittams
  -- strict thread matches above, loose matches on Subject: below --
2004-07-13 16:07 [Qemu-devel] " Mario Cazorzi

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=20040714022611.GB6436@jbrown.mylinuxbox.org \
    --to=jbrown106@phreaker.net \
    --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).