Hi Adeel, On 2018-03-03 20:10, Adeel Ahmad wrote: > Hello Jan, > > Following your instructions on running Jailhouse on QEMU, I built all the > images from (https://github.com/siemens/jailhouse-images/tree/next). However, > when I run the `start-qemu.sh` script, I get this output: > > ``` > qemu-system-x86_64: -machine q35,kernel_irqchip=split: Parameter > 'kernel_irqchip' expects 'on' or 'off' > ```
What does "qemu-system-x86_64 -version" report? Your version of QEMU is likely too old, see README for the requirement. > > So, I updated the script to use `kernel_irqchip=on` instead of > `kernel_irqchip=split`. But, this produces the output: > > ``` > CPU feature arat not found > CPU feature arat not found > CPU feature arat not found > CPU feature arat not found > qemu-system-x86_64: -device intel-iommu,intremap=on,x-buggy-eim=on: > 'intel-iommu' is not a valid device model name > ``` > > Could this have something to do with my CPU architecture? Also, previously > when I was trying to create a config file using the command: `jailhouse > config create sysconfig.c`, I got this error: > > ``` > FileNotFoundError: [Errno 2] No such file or directory: > '//sys/firmware/acpi/tables/DMAR > ``` Was this inside the VM or on the host system? Well, as QEMU is too old, you will not find emulated VT-d inside the VM, and Jailhouse complains about this during this configuration run. If it was on the host, the good news is that you do not need VT-d there for the test setup via QEMU. It will emulates it. > > This answer on StackOverflow (https://stackoverflow.com/a/22424157) says "If > the DMAR table is missing this indicates an issue with your firmware". I have > copied my CPU details below: > > ``` > Architecture: x86_64 > CPU op-mode(s): 32-bit, 64-bit > Byte Order: Little Endian > CPU(s): 4 > On-line CPU(s) list: 0-3 > Thread(s) per core: 2 > Core(s) per socket: 2 > Socket(s): 1 > NUMA node(s): 1 > Vendor ID: GenuineIntel > CPU family: 6 > Model: 69 > Stepping: 1 > CPU MHz: 1853.664 > BogoMIPS: 3392.47 > Virtualization: VT-x > L1d cache: 32K > L1i cache: 32K > L2 cache: 256K > L3 cache: 3072K > NUMA node0 CPU(s): 0-3 > ``` > > My knowledge is very limited on CPU architectures, so I would very much > appreciate if you could help me identify and resolve this issue. Your host has VT-x, CPU virtualization. That's enough for the QEMU/KVM-base test setup that the jailhouse-images project can create. 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]. For more options, visit https://groups.google.com/d/optout.
