qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu - samba share help
@ 2010-05-05 18:02 Arpit Patel
  2010-05-06 19:38 ` [Qemu-devel] " Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Arpit Patel @ 2010-05-05 18:02 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1852 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Qemu - samba share help
@ 2010-05-06  6:36 Sergei Steshenko
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Steshenko @ 2010-05-06  6:36 UTC (permalink / raw)
  To: qemu-devel, Arpit Patel

You need to export your share on host OS.

AFAIR in the guest OS the address to access SAMBA shares was 10.0.2.4.

Regards,
  Sergei.


--- On Wed, 5/5/10, Arpit Patel <arpit1585@gmail.com> wrote:

From: Arpit Patel <arpit1585@gmail.com>
Subject: [Qemu-devel] Qemu - samba share help
To: qemu-devel@nongnu.org
Date: Wednesday, May 5, 2010, 11:02 AM

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


Y




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: Qemu - samba share help
  2010-05-05 18:02 [Qemu-devel] Qemu - samba share help Arpit Patel
@ 2010-05-06 19:38 ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2010-05-06 19:38 UTC (permalink / raw)
  To: Arpit Patel; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-06 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 18:02 [Qemu-devel] Qemu - samba share help Arpit Patel
2010-05-06 19:38 ` [Qemu-devel] " Jan Kiszka
  -- strict thread matches above, loose matches on Subject: below --
2010-05-06  6:36 [Qemu-devel] " Sergei Steshenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).