On Wed, 2021-12-22 at 06:33 -0800, jiajun huang wrote:
> Hi,
> I will try as you suggest.
> Currently I try to run this open source project
> https://github.com/fixstars/cRTOS/blob/master/Installation.md. I used
> to follow the guidelines of this project to successfully run
> linux+nuttx on QEMU, but I found that the ivshmem-net device on qemu
> does not seem to work. I suspect it is because the mmio area created
> by jailhouse for ivshmem-net devices is not registered in QEMU. So I
> decided to try to run this project on the server. I want to know if
> the ivshmem device is supported by QEMU?
> 

There are examples with ivshmem on qemu, if you get the memory mapping
right it will work. Normally you can't re-use the same hypervisor
configuration on real hardware. The IOAPIC/iommu setup is normally
different. 

Root-Cell:
https://github.com/siemens/jailhouse/blob/master/configs/x86/qemu-x86.c

Inmate/Linux:
https://github.com/siemens/jailhouse/blob/master/configs/x86/linux-x86-demo.c

> 
> 在2021年12月22日星期三 UTC+8 22:17:37<Bezdeka, Florian> 写道:
> > On Wed, 2021-12-22 at 05:39 -0800, jiajun huang wrote:
> > > Dear Jailhouse community,
> > > This bug occurred when I tried to start nuttx on a none-root cell
> > > on
> > > the server. I added two ivshmem devices for nuttx. Below is my
> > > configuration file. I am not sure if there is a problem with the
> > > mmio
> > > area in the configuration file. What is the communication area?
> > > In
> > > addition, if jailhouse runs in QEMU, can two virtual machines
> > > communicate with each other through ivshmem-net?
> > > 
> > > Below is my root-cell , nuttx configuration and log output from
> > > the
> > > port.
> > 
> > Have you validated your cell configurations with the jailhouse
> > config
> > checker? I did not look into your configuration in detail, but
> > nearly
> > all of your inmate memory blocks are tagged with
> > "JAILHOUSE_MEM_ROOTSHARED" which seems uncommon.
> > 
> > I would start step by step. So start from a configuration where you
> > know that both cells are booting up. Add virtual NICs afterwards
> > and
> > make sure that IRQs are delivered to ivshmem devices.
> > 
> > Are you able to follow the boot log of your inmate? Hopefully you
> > will
> > see the reason for the VM exit there.
> > 
> > HTH,
> > Florian
> > 
> > > 
> > > Best regards,
> > > 
> > > Jiajun Huang
> > > 
> > 

-- 
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/f76e76b332af3cef7a46e9048e96d6b50aa50fa0.camel%40siemens.com.

Reply via email to