Commit 2518bd0dc210cfd167e3378c1bd9cfa5a89ebca2

Authored by bellard
1 parent e95c8d51

update


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1088 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 22 additions and 2 deletions
Changelog
@@ -18,6 +18,7 @@ version 0.6.1: @@ -18,6 +18,7 @@ version 0.6.1:
18 LD_ASSUME_KERNEL tricks on FC2) 18 LD_ASSUME_KERNEL tricks on FC2)
19 - DHCP fix for Windows (accept DHCPREQUEST alone) 19 - DHCP fix for Windows (accept DHCPREQUEST alone)
20 - SPARC system emulation (Blue Swirl) 20 - SPARC system emulation (Blue Swirl)
  21 + - Automatic Samba configuration for host file access from Windows.
21 22
22 version 0.6.0: 23 version 0.6.0:
23 24
qemu-doc.texi
@@ -233,6 +233,24 @@ guest must be configured in binary mode (use the command @code{bin} of @@ -233,6 +233,24 @@ guest must be configured in binary mode (use the command @code{bin} of
233 the Unix TFTP client). The host IP address on the guest is as usual 233 the Unix TFTP client). The host IP address on the guest is as usual
234 10.0.2.2. 234 10.0.2.2.
235 235
  236 +@item -smb dir
  237 +When using the user mode network stack, activate a built-in SMB
  238 +server so that Windows OSes can access to the host files in @file{dir}
  239 +transparently.
  240 +
  241 +In the guest Windows OS, the line:
  242 +@example
  243 +10.0.2.4 smbserver
  244 +@end example
  245 +must be added in the file @file{C:\WINDOWS\LMHOSTS} (for windows 9x/Me)
  246 +or @file{C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS} (Windows NT/2000).
  247 +
  248 +Then @file{dir} can be accessed in @file{\\smbserver\qemu}.
  249 +
  250 +Note that a SAMBA server must be installed on the host OS in
  251 +@file{/usr/sbin/smbd}. QEMU was tested succesfully with smbd version
  252 +2.2.7a from the Red Hat 9.
  253 +
236 @item -redir [tcp|udp]:host-port:[guest-host]:guest-port 254 @item -redir [tcp|udp]:host-port:[guest-host]:guest-port
237 255
238 When using the user mode network stack, redirect incoming TCP or UDP 256 When using the user mode network stack, redirect incoming TCP or UDP
@@ -671,8 +689,9 @@ configuration is the following: @@ -671,8 +689,9 @@ configuration is the following:
671 QEMU Virtual Machine <------> Firewall/DHCP server <-----> Internet 689 QEMU Virtual Machine <------> Firewall/DHCP server <-----> Internet
672 (10.0.2.x) | (10.0.2.2) 690 (10.0.2.x) | (10.0.2.2)
673 | 691 |
674 - ----> DNS  
675 - (10.0.2.3) 692 + ----> DNS server (10.0.2.3)
  693 + |
  694 + ----> SMB server (10.0.2.4)
676 @end example 695 @end example
677 696
678 The QEMU VM behaves as if it was behind a firewall which blocks all 697 The QEMU VM behaves as if it was behind a firewall which blocks all