qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Van Hensbergen <ericvh@gmail.com>
To: Rob Landley <rlandley@parallels.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] virtfs error reporting?
Date: Mon, 25 Apr 2011 16:24:10 -0500	[thread overview]
Message-ID: <BANLkTik2_eE9cPX=RvSC1usex7sjkqW1vA@mail.gmail.com> (raw)
In-Reply-To: <4DB47A9A.5050504@parallels.com>

On Sun, Apr 24, 2011 at 2:31 PM, Rob Landley <rlandley@parallels.com> wrote:
> So on the host side I'm trying to do this:
>
> $ qemu -cpu pentium3 -nographic -no-reboot -kernel bzImage \
>  -hda hda.sqf -append 'root=/dev/hda rw init=/sbin/init.sh panic=1 \
>  PATH=/bin:/sbin console=ttyS0 HOST=i686 ' -net nic,model=e1000 \
>  -net user -virtfs local,path=../root-filesystem-i686,security_model=mapped,mount_tag=root
>
> And on the guest side I'm trying to do this:
>
>  mount -t 9p -o ro,trans=virtio,version=9p2000.L root /mnt
>
> And it's saying:
>
>  mount: mounting root on /mnt failed: No such device
>

Not that I expect this to be the problem (or if it is, I'm not sure of
a good reason for it) -- but are you sure this isn't a different case
of the same problem you had with a TCP server?

In other words, put the root /mnt before the -o:

        mount -t 9p root /mnt -o ro,trans=virtio,version=9p2000.L

        -eric

      parent reply	other threads:[~2011-04-25 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24 19:31 [Qemu-devel] virtfs error reporting? Rob Landley
2011-04-25  9:22 ` M. Mohan Kumar
2011-04-25 21:24 ` Eric Van Hensbergen [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='BANLkTik2_eE9cPX=RvSC1usex7sjkqW1vA@mail.gmail.com' \
    --to=ericvh@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rlandley@parallels.com \
    /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).