[arch-general] Qemu - File sharing using Samba

Jakub Klinkovský j.l.k at gmx.com
Sun Jul 6 10:50:21 EDT 2014


On 06.07.14 at 16:14, Csányi Pál wrote:
> Hi,
> 
> I'm trying to get access to files on my ArchLinux host from my Qemu
> emulated Windows7 guest.
> 
> I have installed samba on ArchLinux host system; I start it with:
> # systemctl start smbd.service
> 
> I started the guest Windows7 system with:
> 
> $ qemu-system-x86_64 -smb /home/cspal -cpu core2duo -m 1024 -k hu
> -enable-kvm -usbdevice tablet /var/lib/libvirt/images/win7.qcow2
> 
> When in Windows7 guest system, either in Firefox browser or in Windows
> Explorer, I can't connect to \\10.0.2.4
> 
> What am I missing here?
> 
> -- 
> Regards from Pal

QEMU has built-in SMB server, you shouldn't start it on your own for this. See
the wiki for details:
https://wiki.archlinux.org/index.php/QEMU#QEMU.27s_built-in_SMB_server

Also, according to qemu(1), the -smb option is deprecated.

--
jlk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20140706/828b05a8/attachment.asc>


More information about the arch-general mailing list