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.

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.

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/4e848e2a-b83f-1acb-149e-1625351aadd8%40oth-regensburg.de.

Reply via email to