qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: Qemu - samba share help


From: Jan Kiszka
Subject: [Qemu-devel] Re: Qemu - samba share help
Date: Thu, 06 May 2010 21:38:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Arpit Patel wrote:
> Hi All,
> 
> I am trying to share files between host OS and guest OS, both are Ubuntu.
> 
> Here is the command line that I am using to start guest OS
> *qemu -kernel kernelimage -initrd initrd.img /dev/zero -append "cmdline"
> -smb /tmp*
> *
> *
> After which I tried to *mount* /tmp on guest OS, using IP address of host
> OS,
> something like *mount //10.80.8.100/tmp /tmp*, but fails saying "*No such
> device"*.

Try //10.0.2.4/qemu (a virtual server inside the virtual net that QEMU
creates with its user-mode IP stack, 'qemu' is the default share name).

> 
> Samba service is also running on Host OS.

Actually not needed for -smb, it will start a separate smbd instance.
But recent samba versions can cause troubles here (hard-coded paths
prevent unprivileged smbd instances). In that case you need to fall back
to the main host smb server. That would be reachable under 10.0.2.2
(default IP config), share names as you assigned.

> 
> Any ideas or any other way to share files between Host OS and Guest OS.
> 
> Thanks for Help.
> 

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]