Re: [BISECTED] KVM error with 5.0-rc

From: Harald Arnesen
Date: Mon Jan 14 2019 - 14:17:18 EST


Sean Christopherson [14.01.2019 19:33]:

> On Mon, Jan 14, 2019 at 06:04:27PM +0100, Harald Arnesen wrote:
>> Qemu with KVM acceleration fails with kernel 5.0-rc1 and 5.0-rc2.
>> It works fine with 4.20.

> Can you test the attached patch? Found a bug when re-inspecting the
> guilty commit, the wrong VMCS field is being modifying when applying an
> errata to disable VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL. Your CPU is
> listed as one of the models affected by the errata. Compile tested only.

Yes, this patch fixes the error.

Feel free to add a "Tested-by: Harald Arnesen <harald@xxxxxxxxxxx>".
--
Hilsen Harald