thank you for your advice.

在2021年3月2日星期二 UTC+8 上午1:30:15<j.kiszka...@gmail.com> 写道:

> On 25.02.21 13:32, Smith li wrote:
> > Dear Community,
> >         I have compile the jailhouse-images repository, and run the demo.
> > 
> >   the command to start linux in a cell is like this:
> > 
> > #jailhouse cell linux /etc/jailhouse/rpi4-linux-demo.cell \
> >                         /boot/vmlinuz* \
> >                         -d /etc/jailhouse/dts/inmate-rpi4.dtb \
> >                         -i /usr/libexec/jailhouse/demos/rootfs.cpio \
> >                         -c "console=ttyS0,115200 ip=192.168.19.2"
> > 
> > What I want to know is : how to set the root to a dir or disk ?
> > 
> > I see some   use   root=/dev/nfs   ip=192.168.1.1::****** :eth0  in this
> > page.
> > [1]
> https://groups.google.com/g/jailhouse-dev/c/vXD4tzCPDG4/m/zX_hHNxJAgAJ
> > 
> > Can't we set the linux root to a disk partition or a dir ?
> > Will somebody tell me ?
> > Thanks very much !
>
>
> Jailhouse does not provide regular virtual devices like other
> hypervisors. Everything is mapped to shared memory devices.
>
> You may use network-based storage for the non-root cell, nfs as
> suggested above or nbd. There is also experimental virtio-block, backed
> by a simplistic process in the root cell. But integration into
> jailhouse-images is missing, so trying that out can be tough.
>
> Jan
>
> -- 
> Siemens AG, T RDA IOT
> Corporate Competence Center Embedded Linux
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/6efcb671-5747-4572-804e-631319b44b9fn%40googlegroups.com.

Reply via email to