From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9jST-0003qA-Vv for qemu-devel@nongnu.org; Wed, 05 May 2010 14:36:34 -0400 Received: from [140.186.70.92] (port=57663 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9j4Y-000139-EI for qemu-devel@nongnu.org; Wed, 05 May 2010 14:11:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9iv9-0006K7-WB for qemu-devel@nongnu.org; Wed, 05 May 2010 14:02:10 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:59625) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9iv9-0006Ja-RS for qemu-devel@nongnu.org; Wed, 05 May 2010 14:02:07 -0400 Received: by pvg11 with SMTP id 11so2300785pvg.4 for ; Wed, 05 May 2010 11:02:06 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 5 May 2010 11:02:05 -0700 Message-ID: From: Arpit Patel Content-Type: multipart/alternative; boundary=001636ed62f8b5dce80485dc9f2a Subject: [Qemu-devel] Qemu - samba share help List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --001636ed62f8b5dce80485dc9f2a Content-Type: text/plain; charset=ISO-8859-1 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"*. Samba service is also running on Host OS. Any ideas or any other way to share files between Host OS and Guest OS. Thanks for Help. --001636ed62f8b5dce80485dc9f2a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,

I a= m trying to share files between host OS and guest OS, both are Ubuntu.=A0

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 t= o=A0mount=A0/tmp on guest OS, using IP address of host OS,=A0=
something like=A0mount //10.80.8.100/tmp=A0/tmp= , but fails saying "No such device".

Samba service is also running on Host= OS.

Any ideas or any other way to share f= iles between Host OS and Guest OS.

Thanks for Help.
<= /span> --001636ed62f8b5dce80485dc9f2a-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA6x1-0003fZ-Hv for qemu-devel@nongnu.org; Thu, 06 May 2010 15:41:39 -0400 Received: from [140.186.70.92] (port=34313 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA6wz-0003RI-ER for qemu-devel@nongnu.org; Thu, 06 May 2010 15:41:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA6u2-0003RN-5O for qemu-devel@nongnu.org; Thu, 06 May 2010 15:38:46 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:58413) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA6u1-0003QH-QM for qemu-devel@nongnu.org; Thu, 06 May 2010 15:38:34 -0400 Message-ID: <4BE31AAF.40706@web.de> Date: Thu, 06 May 2010 21:38:23 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig67E2606DBCC29CF40E7E527C" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: Qemu - samba share help List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Arpit Patel Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig67E2606DBCC29CF40E7E527C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Arpit Patel wrote: > Hi All, >=20 > I am trying to share files between host OS and guest OS, both are Ubunt= u. >=20 > 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 ho= st > OS, > something like *mount //10.80.8.100/tmp /tmp*, but fails saying "*No su= ch > 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). >=20 > 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. >=20 > Any ideas or any other way to share files between Host OS and Guest OS.= >=20 > Thanks for Help. >=20 Jan --------------enig67E2606DBCC29CF40E7E527C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkvjGrYACgkQitSsb3rl5xRjEACfRV2le0D2+H9P45hQyjDZ6qRu hZUAoMZ67HtNHDMlVluhSvjtT4pFvgIH =dR5g -----END PGP SIGNATURE----- --------------enig67E2606DBCC29CF40E7E527C--