Re: Qemu - File sharing using Samba

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



2014-07-06 16:50 GMT+02:00 Jakub Klinkovský <j.l.k@xxxxxxx>:
> On 06.07.14 at 16:14, Csányi Pál wrote:

>> 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?

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

OK, I red that and now I'm starting my VM with the command:

qemu-system-x86_64 -net nic -net user,smb=/mnt/windows7 -cpu core2duo
-m 1024 -k hu -enable-kvm -usbdevice tablet
/var/lib/libvirt/images/win7.qcow2

Still, when I'm trying to acess the \\10.0.2.4\qemu in Windows
explorer, I get nothing. The error message is about that that the
server is not responding, saying something about time..

-- 
Regards from Pal


[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