[Qemu-devel] [Bug 1665389] Re: Nested kvm guest fails to start on a emulated Westmere CPU guest under a Broadwell CPU host

2017-02-20 Thread Nadav Goldin
> Yes, I mean '-cpu host' in the bare metal. There is no workaround; it worked by chance and it triggered other hard to find bugs. alright, thanks for clarifying that. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.laun

[Qemu-devel] [Bug 1665389] Re: Nested kvm guest fails to start on a emulated Westmere CPU guest under a Broadwell CPU host

2017-02-18 Thread Nadav Goldin
> Nested is currently supported only with -cpu host. Kernel 4.9 has the necessary support but QEMU doesn't. 1. Just to be sure, you mean '-cpu host' in the bare metal host right? 2. Until it is officially supported in qemu, is there any easy way to work around this? as this setup seemed to have w

[Qemu-devel] [Bug 1665389] Re: Nested kvm guest fails to start on a emulated Westmere CPU guest under a Broadwell CPU host

2017-02-16 Thread Nadav Goldin
Hi Dave, thanks for looking into this. > Can you clarify what the host and L1 kernels are please? Host - 4.8.15-200.fc24.x86_64 Guest - 3.10.0-514.2.2.el7.x86_64 Results of adding the debug messages and running a simpler command(with master again - 5dae13): [root@vm-el73 ~]# /usr/bin/qemu-custo

[Qemu-devel] [Bug 1665389] [NEW] Nested kvm guest fails to start on a emulated Westmere CPU guest under a Broadwell CPU host

2017-02-16 Thread Nadav Goldin
Public bug reported: Using latest master(5dae13), qemu fails to start any nested guest in a Westmere emulated guest(layer 1), under a Broadwell host(layer 0), with the error: qemu-custom: /root/qemu/target/i386/kvm.c:1849: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed. The qemu