On 03/03/2022 12:57, Jan Kiszka wrote:
On 25.02.22 15:29, Ralf Ramsauer wrote:
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 \

Good catch. Is this feature flag understood by the recommended QEMU
version, or do we need to lift that lower limit along this?

Tested in docker:

Debian 11 (5.2.x) supports it.
Debian 10 (3.1.0) supports it.
Debian 9 (2.8.1) doesn't support it.

I don't have a chance to test our recommended version 3.0. So maybe lifting the limit to 3.1.0 is a good idea.

Thanks
  Ralf


Jan


--
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/5c3100b5-0c4f-cbc5-d092-d67db0677212%40oth-regensburg.de.

Reply via email to