From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C46Rs-0004cb-Hc for qemu-devel@nongnu.org; Sun, 05 Sep 2004 19:29:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C46Rq-0004cP-Ru for qemu-devel@nongnu.org; Sun, 05 Sep 2004 19:29:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C46Rq-0004cM-O0 for qemu-devel@nongnu.org; Sun, 05 Sep 2004 19:29:26 -0400 Received: from [129.104.30.34] (helo=a.mx.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C46ME-0005aR-8D for qemu-devel@nongnu.org; Sun, 05 Sep 2004 19:23:38 -0400 Received: from localhost (localhost [127.0.0.1]) by djali.m4x.org (Postfix) with ESMTP id DC1673316E for ; Mon, 6 Sep 2004 01:23:36 +0200 (CEST) Received: from djali.m4x.org ([127.0.0.1]) by localhost (djali [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 21252-10 for ; Mon, 6 Sep 2004 01:23:36 +0200 (CEST) Received: from bellard.org (nas-cbv-3-213-228-56-67.dial.proxad.net [213.228.56.67]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id EC71D331DF for ; Mon, 6 Sep 2004 01:23:35 +0200 (CEST) Message-ID: <413BA018.60601@bellard.org> Date: Mon, 06 Sep 2004 01:24:08 +0200 From: Fabrice Bellard MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] SAMBA support in QEMU Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I just commited a simple solution to enable direct access to host files from Windows guests with user mode networking and with almost no set up. It is currently very experimental but it works, at least for Windows 98 with the Samba server from Red Hat 9. Any suggestion is welcome. How to use it: * host config: qemu -user-net -smb /myhostdir ... * guest config: Add the line: 10.0.2.4 smbserver in the file C:\WINDOWS\LMHOSTS (for windows 9x) Then /myhostdir can be accessed in '\\smbserver\qemu'. No network drive can be mapped to it, so it is better to add a short cut to this link. Ignore the messages saying that the network directory cannot be reached. Fabrice.