> Subject: Re: qemu arm64 question
> 
> Hi Peng,
> 
> On 28/02/2022 10:03, Peng Fan wrote:
> > Hi Jan, all
> >
> > Qemu arm64 inmate linux and root cell linux share one hardware uart,
> right?
> > If right, how both linux share one uart, could you help explain more?
> 
> Define the memory region in both, the root and non-root cell, inside the
> non-root cell, use the JAILHOUSE_MEM_ROOTSHARED flag. However, the IRQ
> can not be assigned to both and will only arrive in one cell. Beware of 
> strange
> scenarios that may occur, when both cells try to access the same physical
> device.

Yeah. Have you ever tried secure uart? I am thinking to extent qemu virt
model with two uarts.

> 
> If it's just about the possibility of being able to write to the console in 
> the
> non-root cell, I'd prefer the putc-hypercall.

I am enabling zephyr arm64 + jailhouse on qemu platform, a uart would
would be good, but putc-hypercall should be ok for near-term bringup.

Thanks
Peng.

> 
> Thanks
>    Ralf
> 
> >
> > Thanks,
> > Peng.
> >

-- 
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/DU0PR04MB941737809971DD137334533A88029%40DU0PR04MB9417.eurprd04.prod.outlook.com.

Reply via email to