Hi Claudio, Most likely, this error means that a) you running on an AMD host, and b) your config has some IOMMUs defined, which are not AMD ones.
Commenting out iommus in the config may help, but as Jan pointed out, there could be some other issues with nested SVM virtualization. Valentine On Sep 16, 2016 8:40 PM, "Claudio Scordino" <clau...@evidence.eu.com> wrote: > Dear all, > > when running > > sudo jailhouse enable configs/qemu-vm.cell > > I get > > JAILHOUSE_ENABLE: Invalid argument > > The tracing console says > > hypervisor/arch/x86/amd_iommu.c:329: returning error -EINVAL > > meaning that the following condition fails: > > 327 /* Protect against accidental VT-d configs. */ > 328 if (!iommu->amd_bdf) > > Therefore, apparently I have misconfigured some setting about AMD IOMMU. > However, looking at the documentation I have not found any AMD-specific > setting. > > > Here is some further information about my configuration: > > HOST: > - Linux distribution: Ubuntu 16.04.1 LTS > - Linux kernel: 4.4.0-36 x86_64 > - Qemu version: 2.7.0 > > GUEST: > - Linux distribution: Linux Mint 18 Sarah > - Linux kernel: 4.4.0-36 x86_64 > - Kernel boot param: memmap=66M$0x3b000000 > - Run through the following command: qemu-system-x86_64 -machine q35 -m > 1G -enable-kvm -smp 4 -cpu host,-kvm_pv_eoi,-kvm_steal_ > time,-kvm_asyncpf,-kvmclock,+x2apic -drive file="Mint.vdi",id=disk,if=none > -device ide-hd,drive=disk -serial stdio -serial vc -s -net > user,hostfwd=tcp::22222-:22 -net nic > > > Many thanks and best regards, > > Claudio > > > > > > -- > 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 jailhouse-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 jailhouse-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.