]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kvm/cpuid.c
KVM: x86: Add a return value to kvm_emulate_cpuid
authorKyle Huey <me@kylehuey.com>
Tue, 29 Nov 2016 20:40:37 +0000 (12:40 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Dec 2016 14:31:03 +0000 (15:31 +0100)
commit6a908b628cff81d3f1eb737327c8b726c8fdfd4e
tree8464b25c1de2854c34db51cb1f32ed76035d9695
parent57d1da871b85c3a79e070d5cfc5ccb554ed839c4
KVM: x86: Add a return value to kvm_emulate_cpuid

Once skipping the emulated instruction can potentially trigger an exit to
userspace (via KVM_GUESTDBG_SINGLESTEP) kvm_emulate_cpuid will need to
propagate a return value.

Signed-off-by: Kyle Huey <khuey@kylehuey.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/cpuid.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c