GICv3s in recent QEMU versions have ITS (Interrupt Translation Service) enabled by default, which Linux will make use of. We will crash when trying to re-assigning a CPU back to the root cell, as the root cell's Linux will try to access ITS regions when powering up a CPU.
As we don't support ITS in Jailhouse, disable ITS for the moment. Signed-off-by: Ralf Ramsauer <[email protected]> Reported-by: Stefan Huber <[email protected]> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1b0cbe3..b5937300 100644 --- a/README.md +++ b/README.md @@ -365,7 +365,7 @@ Similarly like x86, Jailhouse can be tried out in a completely emulated ARM64 Start the QEMU machine like this: qemu-system-aarch64 -cpu cortex-a57 -smp 16 -m 1G \ - -machine virt,gic-version=3,virtualization=on -nographic \ + -machine virt,gic-version=3,virtualization=on,its=off -nographic \ -netdev user,id=net -device virtio-net-device,netdev=net \ -drive file=LinuxInstallation.img,format=raw|qcow2|...,id=disk,if=none \ -device virtio-blk-device,drive=disk \ -- 2.35.1 -- 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/20220225142929.385616-1-ralf.ramsauer%40oth-regensburg.de.
