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

2020-04-11 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1665389 Title: Nested kvm

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

2020-02-11 Thread Thomas Huth
Can you still reproduce this issue with the latest version of QEMU (v4.2)? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1665389 Title: Nested

[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.

[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 Paolo Bonzini
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. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1665389 Title:

[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

[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 Paolo Bonzini
Nested is currently supported only with -cpu host. Kernel 4.9 has the necessary support but QEMU doesn't. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1665389 Title: Nested kvm guest fails to

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

2017-02-17 Thread Dr. David Alan Gilbert
kvm_msr_entry_add: @8 index=9e value=3 kvm_msr_entry_add: @9 index=d90 value=0 kvm_msr_entry_add: @10 index=c083 value=0 kvm_put_msrs: ret=9 expected=90 OK, 9... so that's probably the d90; $ ag d90: 418:#define MSR_IA32_BNDCFGS0x0d90 The Intel book

[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 ~]#

[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 Dr. David Alan Gilbert
Hi Nadav, Can you clarify what the host and L1 kernels are please? This error means that qemu tried to write some msrs but one of the msr writes failed; we need to figure out which one to understand what's going on. 1) Edit kvm_msr_entry_add in target/i386/kvm.c to something like: