Re: [PATCH v3 04/20] KVM: nVMX: reset cache/shadows when switching loaded VMCS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 26, 2018 at 9:23 AM, Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
> Reset the vm_{entry,exit}_controls_shadow variables as well as the
> segment cache after loading a new VMCS in vmx_switch_vmcs().  The
> shadows/cache track VMCS data, i.e. they're stale every time we
> switch to a new VMCS regardless of reason.
>
> This fixes a bug where stale control shadows would be consumed after
> a nested VMExit due to a failed consistency check.
>
> Suggested-by: Jim Mattson <jmattson@xxxxxxxxxx>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux