]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 14 Feb 2020 15:12:02 +0000 (16:12 +0100)
commit6cceff4db129fc054b929e26900886d713325ff1
treefeca4e0c6c1fd1f79c2d3252d0e0685f7c71450e
parent8bed6123885a5855cce39fff47f32d1bc2591cc0
x86/KVM: Clean up host's steal time structure

CVE-2019-3016

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>
(cherry picked from commit a6bd811f1209fe1c64c9f6fd578101d6436c6b6e)
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Acked-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c