qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Arpit Patel <arpit1585@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Qemu - samba share help
Date: Thu, 06 May 2010 21:38:23 +0200	[thread overview]
Message-ID: <4BE31AAF.40706@web.de> (raw)
In-Reply-To: <w2gd516cf1c1005051102u7f24f5a0t2a1a79c42487ced6@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2010-05-06 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 18:02 [Qemu-devel] Qemu - samba share help Arpit Patel
2010-05-06 19:38 ` Jan Kiszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE31AAF.40706@web.de \
    --to=jan.kiszka@web.de \
    --cc=arpit1585@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).