[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] SAMBA support in QEMU
From: |
John R. Hogerhuis |
Subject: |
Re: [Qemu-devel] SAMBA support in QEMU |
Date: |
Mon, 06 Sep 2004 11:05:01 -0700 |
On Sun, 2004-09-05 at 16:24, Fabrice Bellard wrote:
> 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.
>
Curious, why the LMHOSTS change? Is name resolution not working across
the NAT? I think that's just an issue of port forwarding of NetBT (RFC
1001, 1002) ports. Possibly may need to write some extra NAT code too
(it's been a while since I had to deal with NATing SMB).
-- John.