smb option doesn't appear to work

Bug #371687 reported by Jamin W. Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kvm (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kvm

Passing the "-smb dir" parameter appears to have no affect. Based on the man pages and command line help output it should result in the creation of a network share that can be accessed from within the VM.

According to the kvm man page (man kvm):

DESCRIPTION
       kvm is based on qemu and its parameters are the same with the above
       additions, please see the kvm-qemu(1) manpage for instructions on how
       to run the program.

According to the kvm-qemu man page:

       -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 dir
           transparently.

           In the guest Windows OS, the line:

                   10.0.2.4 smbserver

           must be added in the file C:\WINDOWS\LMHOSTS (for windows 9x/Me) or
           C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS (Windows NT/2000).

           Then dir can be accessed in \\smbserver\qemu.

           Note that a SAMBA server must be installed on the host OS in
           /usr/sbin/smbd. QEMU was tested successfully with smbd version
           2.2.7a from the Red Hat 9 and version 3.0.10-1.fc3 from Fedora Core
           3.

From "kvm --help":

-smb dir allow SMB access to files in 'dir' [-net user]

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
MachineType: LENOVO
NonfreeKernelModules: nvidia ath_hal
Package: kvm 1:84+dfsg-0ubuntu11
ProcCmdLine: root=UUID=66cf90ad-d4ec-4ec1-afb0-3fc3b17e3141 ro vga=0x37d quiet splash crashkernel=384M-2G:64M@16M,2G-:128M@16M
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: kvm

Revision history for this message
Jamin W. Collins (jcollins) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.