From: Ronald <look@reply.to>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: SAMBA support in QEMU
Date: Fri, 10 Sep 2004 14:47:07 +0200 [thread overview]
Message-ID: <pan.2004.09.10.12.47.03.841894@reply.to> (raw)
In-Reply-To: pan.2004.09.06.17.02.04.348650@reply.to
Le Mon, 06 Sep 2004 19:02:07 +0200, Ronald a écrit :
> Le Mon, 06 Sep 2004 02:30:50 +0200, Ronald a écrit :
>
>
>> Just a small fix to make it build for windows.
>>
>>
> Perhaps the following could be more usefull. Not sure if this is correct
> and even work.
>
No, the whole thing don't work, although the build goes fine and qemu
don't crash, the process is not launched when using slirp_add_exec,
something related to unimplemented fork_exec for win32? So I've just put
some #ifndef around the smb related parts in vl.c to build latest cvs.
--- vl.c.old 2004-09-06 18:55:04.524395364 +0200
+++ vl.c 2004-09-10 14:44:01.049726726 +0200
@@ -1454,6 +1454,8 @@
fprintf(stderr, "qemu: syntax: -redir [tcp|udp]:host-port:[guest-host]:guest-port\n");
exit(1);
}
+
+#ifndef _WIN32
char smb_dir[1024];
@@ -1526,10 +1528,10 @@
atexit(smb_exit);
snprintf(smb_cmdline, sizeof(smb_cmdline), "/usr/sbin/smbd -s %s", smb_conf);
-
+
slirp_add_exec(0, smb_cmdline, 4, 139);
}
-
+#endif /* ifndef _WIN32 */
#endif /* CONFIG_SLIRP */
#if !defined(_WIN32)
@@ -2913,8 +2915,10 @@
case QEMU_OPTION_tftp:
tftp_prefix = optarg;
break;
+#ifndef _WIN32
case QEMU_OPTION_smb:
net_slirp_smb(optarg);
+#endif
break;
case QEMU_OPTION_user_net:
net_if_type = NET_IF_USER;
next prev parent reply other threads:[~2004-09-10 12:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 23:24 [Qemu-devel] SAMBA support in QEMU Fabrice Bellard
2004-09-06 0:30 ` [Qemu-devel] " Ronald
2004-09-06 17:02 ` Ronald
2004-09-06 17:16 ` Ronald
2004-09-10 12:47 ` Ronald [this message]
2004-09-10 14:37 ` Johannes Schindelin
2004-09-10 16:22 ` [Qemu-devel] " Ronald
2004-09-06 18:05 ` [Qemu-devel] " John R. Hogerhuis
2004-09-06 19:06 ` Mikesch Nepomuk
2004-09-11 7:12 ` [Qemu-devel] " Mark.Jonckheere
2004-09-11 13:19 ` Andreas Bollhalder
2004-09-06 19:46 ` [Qemu-devel] " Laurent Amon
2004-12-07 14:45 ` Adrian Smarzewski
2004-12-07 16:50 ` Johannes Schindelin
2004-12-08 9:26 ` Adrian Smarzewski
2004-12-08 12:36 ` Adrian Smarzewski
2004-12-08 12:56 ` Jens Arm
2004-12-08 13:04 ` Jens Arm
2004-12-08 21:56 ` Fabrice Bellard
2004-12-08 15:04 ` Adrian Smarzewski
2004-12-08 18:21 ` Felipe Sanchez
2004-12-08 21:59 ` Fabrice Bellard
2004-12-09 9:11 ` carlo.andreoli
2004-12-09 18:44 ` David Still
2004-12-09 21:34 ` Adrian Smarzewski
2004-12-19 15:18 ` Bernhard Huafbauer
2004-12-19 23:40 ` Fabrice Bellard
2004-12-20 21:14 ` Bernhard Huafbauer
2004-12-20 23:14 ` Fabrice Bellard
2004-12-21 22:13 ` Bernhard Huafbauer
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.09.10.12.47.03.841894@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).