From: Ronald <look@reply.to>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: What is the minimal linux setup for running Qemu ?
Date: Thu, 23 Dec 2004 03:41:26 +0100 [thread overview]
Message-ID: <pan.2004.12.23.02.41.24.154496@reply.to> (raw)
In-Reply-To: 41CA2229.9060706@hermes.cam.ac.uk
Le Thu, 23 Dec 2004 01:40:57 +0000, Richard Neill a écrit :
> Exactly. And as you say, the problem is that writing to files in a virtual
> disk means that any slight corruption to the real physical file may
> completely destroy the filesystem on the virtual disk. A crash of the host
> would also be less damaging.
>
> What *would* be cute would be to use the virtual vfat driver. Thus files
> on the guest map to real files on the memory key. If you do this, the
> number of writes will be exactly the same as if you used the memory key
> for transport of files in the usual way.
>
>
> My ideal set up would be the following:
>
>
> USB-memory-key/
> /qemu/mac <- mac binaries for qemu and bios /qemu/linux <- linux
> binaries for qemu and bios /qemu/win <- windows binaries for qemu and
> bios
>
> /dsl/iso <- dsl iso itself
> /dsl/extras <- extra apps for dsl if desired.
>
> /myfiles <- an ordinary directory, not a disk image.
> appearing to the guest as a drive using
> virtual vfat
>
> /putty <- ssh binaries for win,linux,mac /vnc <- vnc viewer
> binaries for win,linux,mac
>
> win-startup.bat <- start up scripts for qemu/dsl mac-startup.sh
> linux-startup.sh
>
>
> The only problems that remain are:
> - vfat doesn't support Linux file attributes.
> (there is a solution, but I forget what).
>
> - you need a script to manually save those files within /home
> that you want to keep. Most can vanish with the ramdisk on
> reboot, but things like ~/.ssh and ~/.mozilla are useful!
> [DSL and Knoppix both solve this problem somehow ]
>
>
> In addition, with the falling prices of memory keys, an entire knoppix iso
> could be used, if desired. Furthermore, since we know exactly what the
> emulated hardware will be, knoppix could be compiled with the appropriate
> optimisations.
>
I find this set up a bit complicated (or I have not understood the goal
maybe), I think you can do something simpler by using qemu's features like
snapshot and compressed qcow image, this way you only write to the usb
stick if you have done some real changes by commiting to the image.
prev parent reply other threads:[~2004-12-23 2:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-22 16:20 [Qemu-devel] What is the minimal linux setup for running Qemu ? Khan, Mohammad
2004-12-22 16:40 ` Richard Neill
2004-12-22 20:31 ` jeebs
2004-12-22 23:09 ` Richard Neill
2004-12-22 23:50 ` jeebs
2004-12-23 1:40 ` Richard Neill
2004-12-23 2:02 ` Jim C. Brown
2004-12-23 18:36 ` Andreas Bollhalder
2004-12-23 23:12 ` Jim C. Brown
2004-12-23 2:41 ` Ronald [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=pan.2004.12.23.02.41.24.154496@reply.to \
--to=look@reply.to \
--cc=daimon55@free.fr \
--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).