All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: qemu-devel@nongnu.org
Cc: Paulo Silva <nitrofurano@gmail.com>
Subject: Re: [Qemu-devel] how can i mount a folder as a qemu disk?
Date: Tue, 24 Mar 2009 01:47:45 -0500	[thread overview]
Message-ID: <200903240147.45909.rob@landley.net> (raw)
In-Reply-To: <9b711ec60903211902k5f8bdcf5s7eeb8035ae928c15@mail.gmail.com>

On Saturday 21 March 2009 21:02:25 Paulo Silva wrote:
> Hi!
> How can i mount a folder as a disk, just like what UAE and Basilisk2 does?
> This is very useful for me, for transfering stuff between the root
> operating-system and the emulated one, and vice-versa
> cheers,
> Paulo

Well, there's always sshfs:

  http://fuse.sourceforge.net/sshfs.html

If you're stuck emulating windows and you don't mind it being A) read only, B) 
horribly inefficient, you can try the virtual FAT support:

  http://www.nongnu.org/qemu/qemu-doc.html#SEC25

Note that's got some serious rough edges.  Specifically, if you _don't_ mount 
that read only, and your kernel accidentally tries to write to it, the device 
behaves badly.  (My emulated linux kernel went into an endless loop due to a 
dropped interrupt or some such.  No idea what windows would do, I haven't got 
one..)


Rob

      parent reply	other threads:[~2009-03-24  7:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22  2:02 [Qemu-devel] how can i mount a folder as a qemu disk? Paulo Silva
2009-03-22  9:16 ` Avi Kivity
2009-03-22 12:16   ` Jamie Lokier
2009-03-22 17:43     ` Paulo Silva
2009-03-27  9:42       ` Jan Marten Simons
2009-03-24  6:47 ` Rob Landley [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=200903240147.45909.rob@landley.net \
    --to=rob@landley.net \
    --cc=nitrofurano@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.