On 27.04.21 11:57, along li wrote:
> will you  share some indirection to help using  virtio-block ?  Thanks
> very much.
> 

Did you study
https://github.com/siemens/jailhouse/blob/master/Documentation/inter-cell-communication.md
already, how far that can take you?

Regarding jailhouse-images, I'm unfortunately lacking time to do that in
the next future. My jailhouse to-do list has some other, urgent issues
for now (not to speak of my general to-do list...).

Jan

>  
> 在2021年3月2日星期二 UTC+8 上午1:30:15<[email protected]> 写道:
> 
>     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
>     <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
> 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/0a541a67-4abc-cce6-f677-7b4a1b86b99e%40siemens.com.

Reply via email to