]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/KVM: Clean up host's steal time structure
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 6 Dec 2019 15:36:12 +0000 (15:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:35:40 +0000 (04:35 -0800)
commit2aebc6ed84efeb1e255fd6417f9230388f2206cd
tree7018a99a28c389bdbef31e91ac789d1e5039fd82
parentf7c1a6c67ff36532f1b0b339e3aae7701a2c0b1e
x86/KVM: Clean up host's steal time structure

commit a6bd811f1209fe1c64c9f6fd578101d6436c6b6e upstream.

Now that we are mapping kvm_steal_time from the guest directly we
don't need keep a copy of it in kvm_vcpu_arch.st. The same is true
for the stime field.

This is part of CVE-2019-3016.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c