Re: [PATCH] KVM: nVMX: Fix CR4 after VMLAUNCH/VMRESUME failure
From: Jim Mattson
Date: Tue Feb 06 2018 - 11:59:02 EST
On Mon, Feb 5, 2018 at 4:57 PM, Wanpeng Li <kernellwp@xxxxxxxxx> wrote:
> This is effective one, what I restore in this patch is
> achitectural/guest visible.
This patch doesn't "restore" the guest visible CR4 to its value at the
time of VMLAUNCH/VMRESUME. It loads a new CR4 value from the vmcs12.
That behavior is incorrect.