Re: IOMMU problem using QEMU/KVM on AMD hardware

2016-09-19 Thread Jan Kiszka
On 2016-09-19 09:41, Valentine Sinitsyn wrote: > Hi everyone, > > On 19.09.2016 11:48, Jan Kiszka wrote: >> On 2016-09-19 08:45, Claudio Scordino wrote: >>> Dear Jan, Valentine, >>> >>> 2016-09-16 19:57 GMT+02:00 Jan Kiszka >> >: >>> >>> On 2016-09-16 17:40, Clau

Re: IOMMU problem using QEMU/KVM on AMD hardware

2016-09-19 Thread Valentine Sinitsyn
Hi everyone, On 19.09.2016 11:48, Jan Kiszka wrote: On 2016-09-19 08:45, Claudio Scordino wrote: Dear Jan, Valentine, 2016-09-16 19:57 GMT+02:00 Jan Kiszka mailto:jan.kis...@siemens.com>>: On 2016-09-16 17:40, Claudio Scordino wrote: > Dear all, > > when running > >

Re: IOMMU problem using QEMU/KVM on AMD hardware

2016-09-18 Thread Jan Kiszka
On 2016-09-19 08:45, Claudio Scordino wrote: > Dear Jan, Valentine, > > 2016-09-16 19:57 GMT+02:00 Jan Kiszka >: > > On 2016-09-16 17:40, Claudio Scordino wrote: > > Dear all, > > > > when running > > > > sudo jailhouse enable configs/

Re: IOMMU problem using QEMU/KVM on AMD hardware

2016-09-18 Thread Claudio Scordino
Dear Jan, Valentine, 2016-09-16 19:57 GMT+02:00 Jan Kiszka : > On 2016-09-16 17:40, Claudio Scordino wrote: > > Dear all, > > > > when running > > > > sudo jailhouse enable configs/qemu-vm.cell > > > > I get > > > > JAILHOUSE_ENABLE: Invalid argument > > > > The tracing console says >

Re: IOMMU problem using QEMU/KVM on AMD hardware

2016-09-17 Thread Valentine Sinitsyn
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 S

Re: IOMMU problem using QEMU/KVM on AMD hardware

2016-09-16 Thread Jan Kiszka
On 2016-09-16 17:40, Claudio Scordino 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 > > meani

IOMMU problem using QEMU/KVM on AMD hardware

2016-09-16 Thread Claudio Scordino
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 accid