From: zitu <zitu@free.fr>
To: qemu-devel@nongnu.org, Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: [Qemu-devel] Patch: virtual vfat support
Date: Mon, 20 Dec 2004 09:32:43 +0100 [thread overview]
Message-ID: <1103531563.41c68e2ba18f3@imp5-q.free.fr> (raw)
In-Reply-To: <Pine.LNX.4.58.0412191905310.3718@wgmdd8.biozentrum.uni-wuerzburg.de>
Quoting Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> Hi,
>
> I proudly present the alpha version of my vvfat block driver:
>
> http://libvncserver.sf.net/qemu/qemu-vvfat.patch.gz
It does not compile out of the box on windows host. I had to add
a locatime_r.c to make it compile successfully.
======================================================================
#include <errno.h>
#include <time.h>
struct tm *
localtime_r(const time_t *t, struct tm *ptm)
{
struct tm *ptms = localtime(t); /* pointer to static structure */
if (ptms)
{
*ptm = *ptms;
return ptm;
}
else
{
return 0;
}
}
======================================================================
> So what is it? By calling QEmu with "-hda vvfat:some/directory", you can
> access the files in that directory via an emulated (virtual) VFAT device.
> (Yes, from the guest OS you can read the files and subdirectories of one
> of the host OS' directories, and yes, this should eventually solve the SMB
> on DOS problem).
I tried to install freedos on a disk image, and extract the img to the
local vfat directory. I intended to check read-only capabilities.
Qemu doesn't start at all:
vvqemu.exe -m 160 -L pc-bios -hda vvfat:vfat -cdrom fdbootcd.iso -boot d
vfat contains:
AUTOEXEC.BAT COMMAND.COM CONFIG.SYS FDOS/ FREEDOS.BSS KERNEL.SYS
Zitu
next prev parent reply other threads:[~2004-12-20 8:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-19 18:15 [Qemu-devel] Patch: virtual vfat support Johannes Schindelin
2004-12-19 19:32 ` Magnus Damm
2004-12-19 19:44 ` Johannes Schindelin
2004-12-19 20:40 ` Magnus Damm
2004-12-19 22:33 ` Johannes Schindelin
2004-12-19 23:01 ` Andreas Bollhalder
2004-12-20 15:12 ` Johannes Schindelin
2004-12-19 21:02 ` Panagiotis Issaris
2004-12-19 22:37 ` Johannes Schindelin
2004-12-20 8:32 ` zitu [this message]
2004-12-20 15:25 ` Johannes Schindelin
[not found] <Pine.LNX.4.58.0412202329290.8198@wgmdd8.biozentrum.uni-wuerzburg.de>
2004-12-21 22:47 ` Andreas Bollhalder
2004-12-22 18:55 ` Johannes Schindelin
2004-12-23 1:02 ` André Braga
2004-12-23 18:31 ` Andreas Bollhalder
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=1103531563.41c68e2ba18f3@imp5-q.free.fr \
--to=zitu@free.fr \
--cc=Johannes.Schindelin@gmx.de \
--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).