aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-30 22:35:13 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-30 22:35:13 +0000
commit2518bd0dc210cfd167e3378c1bd9cfa5a89ebca2 (patch)
tree36621a6e7d09a0461f8bcad80f58199371fdd08a
parente95c8d51c2a47d7ccb422f83446cb91a18f8f37d (diff)
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1088 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--Changelog1
-rw-r--r--qemu-doc.texi23
2 files changed, 22 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index 8bbe6d95f7..150a52d06e 100644
--- a/Changelog
+++ b/Changelog
@@ -18,6 +18,7 @@ version 0.6.1:
LD_ASSUME_KERNEL tricks on FC2)
- DHCP fix for Windows (accept DHCPREQUEST alone)
- SPARC system emulation (Blue Swirl)
+ - Automatic Samba configuration for host file access from Windows.
version 0.6.0:
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 51fc12fa52..9e8eaf2f30 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -233,6 +233,24 @@ guest must be configured in binary mode (use the command @code{bin} of
the Unix TFTP client). The host IP address on the guest is as usual
10.0.2.2.
+@item -smb dir
+When using the user mode network stack, activate a built-in SMB
+server so that Windows OSes can access to the host files in @file{dir}
+transparently.
+
+In the guest Windows OS, the line:
+@example
+10.0.2.4 smbserver
+@end example
+must be added in the file @file{C:\WINDOWS\LMHOSTS} (for windows 9x/Me)
+or @file{C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS} (Windows NT/2000).
+
+Then @file{dir} can be accessed in @file{\\smbserver\qemu}.
+
+Note that a SAMBA server must be installed on the host OS in
+@file{/usr/sbin/smbd}. QEMU was tested succesfully with smbd version
+2.2.7a from the Red Hat 9.
+
@item -redir [tcp|udp]:host-port:[guest-host]:guest-port
When using the user mode network stack, redirect incoming TCP or UDP
@@ -671,8 +689,9 @@ configuration is the following:
QEMU Virtual Machine <------> Firewall/DHCP server <-----> Internet
(10.0.2.x) | (10.0.2.2)
|
- ----> DNS
- (10.0.2.3)
+ ----> DNS server (10.0.2.3)
+ |
+ ----> SMB server (10.0.2.4)
@end example
The QEMU VM behaves as if it was behind a firewall which blocks all