* How is the -smb switch supposed to work?
@ 2009-02-16 19:25 Tassilo Horn
2009-02-18 7:44 ` Tassilo Horn
0 siblings, 1 reply; 2+ messages in thread
From: Tassilo Horn @ 2009-02-16 19:25 UTC (permalink / raw)
To: kvm
Hi all,
I've successfully installed KVM (version 83 with 2.6.28 kernel) and
windows as guest. I start it with
kvm -net nic,macaddr=46:0e:b3:53:9f:3a \
-net user -localtime -smb /home/horn \
~/kvm/windows.img
and basically it works fine. I have network access in the guest,
performance is fine and every application I need seems to work well.
The only thing which doesn't work is accessing my $HOME on the host from
the guest. My $HOME is /home/horn and reading the kvm man page it seems
clear that with that I should be able to access the dir using
\\smbserver\qemu. I added the line "10.0.2.4 smbserver" in the lmhosts
file, too. But the connection always fails.
Samba is installed on the host (/usr/sbin/smbd exists), CIFS support is
in the kernel. But "ps -e" doesn't show a smbd process when the guest
is started.
I also tried starting smbd before starting the guest, but still no luck.
When on the guest I can ping 10.0.2.2 but not 10.0.2.4. Reading the kvm
man page I see that this is the built-in TFTP server, but why is it
activated? I didn't specify "-tftp dir" on the command line...
Does anyone know what I'm doing wrong? Or does someone know how to
debug what's the problem?
Thanks a lot for any pointers!
Bye,
Tassilo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How is the -smb switch supposed to work?
2009-02-16 19:25 How is the -smb switch supposed to work? Tassilo Horn
@ 2009-02-18 7:44 ` Tassilo Horn
0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2009-02-18 7:44 UTC (permalink / raw)
To: kvm
Tassilo Horn <tassilo@member.fsf.org> writes:
Hi again,
> I've successfully installed KVM (version 83 with 2.6.28 kernel) and
> windows as guest. I start it with
>
> kvm -net nic,macaddr=46:0e:b3:53:9f:3a \
> -net user -localtime -smb /home/horn \
> ~/kvm/windows.img
>
> and basically it works fine.
> [But: I cannot access /home/horn as samba share.]
Now I tried to ensure that my hosts's samba installation works. I
created a share "LinuxHost" which shares /home/horn and on the host I'm
able to mount it with
mount -t cifs LinuxHost /some/dir
Well, I'll see what happens when kvm-84 hits the gentoo package tree...
Bye,
Tassilo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-18 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 19:25 How is the -smb switch supposed to work? Tassilo Horn
2009-02-18 7:44 ` Tassilo Horn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox