]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/KVM/VMX: Split the VMX MSR LOAD structures to have an host/guest numbers
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jun 2018 17:58:37 +0000 (13:58 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 8 Aug 2018 12:08:07 +0000 (14:08 +0200)
commit6e3dedb6e9ea2a1acc76786b70c0d7b9985faabc
treebc120da841932e017b2e1523af49f4846e30e316
parentf0ace387064d45f0fd1478ff470dc8162db3b4b3
x86/KVM/VMX: Split the VMX MSR LOAD structures to have an host/guest numbers

There is no semantic change but this change allows an unbalanced amount of
MSRs to be loaded on VMEXIT and VMENTER, i.e. the number of MSRs to save or
restore on VMEXIT or VMENTER may be different.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CVE-2018-3620
CVE-2018-3646

[tyhicks: Backport around prepare_vmcs02_full() not yet existing]
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/kvm/vmx.c