Re: Qemu - File sharing using Samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: pgpSg0psUu21i.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux