All of lore.kernel.org
 help / color / mirror / Atom feed
From: "mar.krzeminski" <mar.krzeminski@gmail.com>
To: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	qemu-arm <qemu-arm@nongnu.org>
Subject: [Qemu-arm] 9p as rootfs
Date: Fri, 23 Sep 2016 21:38:50 +0200	[thread overview]
Message-ID: <6f7cd004-06b6-0ee5-86bc-082aa593ea64@gmail.com> (raw)

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

Hello,

I have a problem in my custom arm machine to use 9p fs as a rootfs.

9p command line i qemu:

/-device virtio-9p-device,fsdev=host_fs,mount_tag=hostfs -fsdev 
local,id=host_fs,security_model=none,path=/work/rootfs/

Kernel cmd line:

/--append "root=hostfs rootfstype=9p rootflags=trans=virtio noinitrd 
console=ttyS3,115200"

/Device tree entry:

/        virtio: virtio_mmio@ff0a4000 {//
//            compatible = "virtio,mmio";//
//            reg = <0xff0a4000 0x200>;//
//            interrupts = <0 72 1>;//
//            status = "okay";//
//        };


/ I can mount this fs from kernel using fstab entry:
/hostfs               /mnt/host            9p trans=virtio          0  0

/Do you have any idea what am I doing wrong?

Thanks,
Marcin/
/

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

WARNING: multiple messages have this Message-ID (diff)
From: "mar.krzeminski" <mar.krzeminski@gmail.com>
To: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	qemu-arm <qemu-arm@nongnu.org>
Subject: [Qemu-devel] 9p as rootfs
Date: Fri, 23 Sep 2016 21:38:50 +0200	[thread overview]
Message-ID: <6f7cd004-06b6-0ee5-86bc-082aa593ea64@gmail.com> (raw)

Hello,

I have a problem in my custom arm machine to use 9p fs as a rootfs.

9p command line i qemu:

/-device virtio-9p-device,fsdev=host_fs,mount_tag=hostfs -fsdev 
local,id=host_fs,security_model=none,path=/work/rootfs/

Kernel cmd line:

/--append "root=hostfs rootfstype=9p rootflags=trans=virtio noinitrd 
console=ttyS3,115200"

/Device tree entry:

/        virtio: virtio_mmio@ff0a4000 {//
//            compatible = "virtio,mmio";//
//            reg = <0xff0a4000 0x200>;//
//            interrupts = <0 72 1>;//
//            status = "okay";//
//        };


/ I can mount this fs from kernel using fstab entry:
/hostfs               /mnt/host            9p trans=virtio          0  0

/Do you have any idea what am I doing wrong?

Thanks,
Marcin/
/

             reply	other threads:[~2016-09-23 19:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23 19:38 mar.krzeminski [this message]
2016-09-23 19:38 ` [Qemu-devel] 9p as rootfs mar.krzeminski
2016-09-23 19:41 ` [Qemu-arm] " mar.krzeminski
2016-09-23 19:41   ` [Qemu-devel] " mar.krzeminski
2016-09-27 19:33   ` [Qemu-arm] " mar.krzeminski
2016-09-27 19:33     ` [Qemu-devel] " mar.krzeminski
2016-09-28  7:16     ` Pradeep Kiruvale
2016-09-28  7:16       ` Pradeep Kiruvale

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=6f7cd004-06b6-0ee5-86bc-082aa593ea64@gmail.com \
    --to=mar.krzeminski@gmail.com \
    --cc=qemu-arm@nongnu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.