[arch-general] Qemu - File sharing using Samba
Csányi Pál
csanyipal at gmail.com
Mon Jul 7 11:59:30 EDT 2014
2014-07-07 17:43 GMT+02:00 Jakub Klinkovský <j.l.k at gmx.com>:
> On 07.07.14 at 16:40, Csányi Pál wrote:
>> 2014-07-06 22:37 GMT+02:00 Guus Snijders <gsnijders at gmail.com>:
>> > Op 6 jul. 2014 20:08 schreef "Csányi Pál" <csanyipal at gmail.com> het
>> > volgende:
>> >>
>> >> 2014-07-06 16:50 GMT+02:00 Jakub Klinkovský <j.l.k at gmx.com>:
>> >> > On 06.07.14 at 16:14, Csányi Pál wrote:
>> >>
>> >> [...]
>> >
>> >> 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..
>> >
>> > Can you ping that ip adress from Windows?
>>
>> I can't ping 10.0.2.4 IP address from Windows.
>
> I don't think ping will ever work for user networking, this should be fine.
>
>>
>> > Second: do you have filesharing enabled in the Windows vm
>> > (and instructed the firewall to allow that)?
>>
>> I think I have filesharing enabled in the Windows vm
>> (and instructed the firewall to allow that)
>>
>> because I did setup on Windows vm this by following these steps:
>> http://swerdna.dyndns.org/susesambawin7.html
>>
>
> I can't access that url.
>
>> Still, I'm not sure in that that what did I on Windows vm, because:
>> 1. the \\10.0.2.4\qemu directory is on the host GNU/Linux system, right,
>> 2. the directory I shared on the Windows vm is a directory on that
>> Windows vm system
>>
>> so these two settings is for different things, right?
>
> That's right, for 1. you're fine with user networking (-net user,smb=...), but
> for 2. you will need something better to be able to access the guest system from
> the host. See the subsections of QEMU#Networking [1] on the wiki.
>
> [1]: https://wiki.archlinux.org/index.php/QEMU#Networking
However, neither 1., nor 2. doesn't work here.
How can I solve these problems?
--
Regards from Pal
More information about the arch-general
mailing list