]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
KVM: x86: add support for UMIP
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jul 2016 08:36:41 +0000 (10:36 +0200)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 19 Mar 2018 23:40:23 +0000 (20:40 -0300)
commitdf9b1e03449b4feb01c30f292d7b292643b2808b
tree1957ee95c767e97ce1fc2a1a51e8b1752f797ac7
parent2b7bf2f5f5a98d40006cc545878ce81b4122b6d3
KVM: x86: add support for UMIP

BugLink: http://bugs.launchpad.net/bugs/1739665
Add the CPUID bits, make the CR4.UMIP bit not reserved anymore, and
add UMIP support for instructions that are already emulated by KVM.

Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit ae3e61e1c28338d077b704505570fa181df1e41f)
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/cpuid.c
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c