aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 4d179d10637..b99bb37e5de 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -692,11 +692,6 @@ static void vmx_fpu_deactivate(struct kvm_vcpu *vcpu)
692 update_exception_bitmap(vcpu); 692 update_exception_bitmap(vcpu);
693} 693}
694 694
695static void vmx_vcpu_decache(struct kvm_vcpu *vcpu)
696{
697 vcpu_clear(to_vmx(vcpu));
698}
699
700static unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu) 695static unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu)
701{ 696{
702 return vmcs_readl(GUEST_RFLAGS); 697 return vmcs_readl(GUEST_RFLAGS);
@@ -3114,7 +3109,6 @@ static struct kvm_x86_ops vmx_x86_ops = {
3114 .prepare_guest_switch = vmx_save_host_state, 3109 .prepare_guest_switch = vmx_save_host_state,
3115 .vcpu_load = vmx_vcpu_load, 3110 .vcpu_load = vmx_vcpu_load,
3116 .vcpu_put = vmx_vcpu_put, 3111 .vcpu_put = vmx_vcpu_put,
3117 .vcpu_decache = vmx_vcpu_decache,
3118 3112
3119 .set_guest_debug = set_guest_debug, 3113 .set_guest_debug = set_guest_debug,
3120 .guest_debug_pre = kvm_guest_debug_pre, 3114 .guest_debug_pre = kvm_guest_debug_pre,