diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 8 | ||||
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 4 | ||||
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 4 | ||||
-rw-r--r-- | arch/x86/kvm/svm.c | 5 | ||||
-rw-r--r-- | arch/x86/kvm/vmx.c | 6 | ||||
-rw-r--r-- | arch/x86/kvm/x86.c | 8 |
6 files changed, 0 insertions, 35 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 68c978be9a51..7c504be57972 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1035,14 +1035,6 @@ static void kvm_free_vmm_area(void) | |||
1035 | } | 1035 | } |
1036 | } | 1036 | } |
1037 | 1037 | ||
1038 | /* | ||
1039 | * Make sure that a cpu that is being hot-unplugged does not have any vcpus | ||
1040 | * cached on it. Leave it as blank for IA64. | ||
1041 | */ | ||
1042 | void decache_vcpus_on_cpu(int cpu) | ||
1043 | { | ||
1044 | } | ||
1045 | |||
1046 | static void vti_vcpu_load(struct kvm_vcpu *vcpu, int cpu) | 1038 | static void vti_vcpu_load(struct kvm_vcpu *vcpu, int cpu) |
1047 | { | 1039 | { |
1048 | } | 1040 | } |
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 777e0f34e0ea..0513b359851b 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -240,10 +240,6 @@ void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu) | |||
240 | { | 240 | { |
241 | } | 241 | } |
242 | 242 | ||
243 | void decache_vcpus_on_cpu(int cpu) | ||
244 | { | ||
245 | } | ||
246 | |||
247 | int kvm_arch_vcpu_ioctl_debug_guest(struct kvm_vcpu *vcpu, | 243 | int kvm_arch_vcpu_ioctl_debug_guest(struct kvm_vcpu *vcpu, |
248 | struct kvm_debug_guest *dbg) | 244 | struct kvm_debug_guest *dbg) |
249 | { | 245 | { |
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 6558b09ff579..4585c8ac2b0c 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -79,10 +79,6 @@ void kvm_arch_hardware_disable(void *garbage) | |||
79 | { | 79 | { |
80 | } | 80 | } |
81 | 81 | ||
82 | void decache_vcpus_on_cpu(int cpu) | ||
83 | { | ||
84 | } | ||
85 | |||
86 | int kvm_arch_hardware_setup(void) | 82 | int kvm_arch_hardware_setup(void) |
87 | { | 83 | { |
88 | return 0; | 84 | return 0; |
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 9390a31c06f4..238e8f3afaf4 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -709,10 +709,6 @@ static void svm_vcpu_put(struct kvm_vcpu *vcpu) | |||
709 | rdtscll(vcpu->arch.host_tsc); | 709 | rdtscll(vcpu->arch.host_tsc); |
710 | } | 710 | } |
711 | 711 | ||
712 | static void svm_vcpu_decache(struct kvm_vcpu *vcpu) | ||
713 | { | ||
714 | } | ||
715 | |||
716 | static void svm_cache_regs(struct kvm_vcpu *vcpu) | 712 | static void svm_cache_regs(struct kvm_vcpu *vcpu) |
717 | { | 713 | { |
718 | struct vcpu_svm *svm = to_svm(vcpu); | 714 | struct vcpu_svm *svm = to_svm(vcpu); |
@@ -1933,7 +1929,6 @@ static struct kvm_x86_ops svm_x86_ops = { | |||
1933 | .prepare_guest_switch = svm_prepare_guest_switch, | 1929 | .prepare_guest_switch = svm_prepare_guest_switch, |
1934 | .vcpu_load = svm_vcpu_load, | 1930 | .vcpu_load = svm_vcpu_load, |
1935 | .vcpu_put = svm_vcpu_put, | 1931 | .vcpu_put = svm_vcpu_put, |
1936 | .vcpu_decache = svm_vcpu_decache, | ||
1937 | 1932 | ||
1938 | .set_guest_debug = svm_guest_debug, | 1933 | .set_guest_debug = svm_guest_debug, |
1939 | .get_msr = svm_get_msr, | 1934 | .get_msr = svm_get_msr, |
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4d179d106376..b99bb37e5dec 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 | ||
695 | static void vmx_vcpu_decache(struct kvm_vcpu *vcpu) | ||
696 | { | ||
697 | vcpu_clear(to_vmx(vcpu)); | ||
698 | } | ||
699 | |||
700 | static unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu) | 695 | static 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, |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 8c14ddcaba70..fd03b4465bcc 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -817,14 +817,6 @@ out: | |||
817 | return r; | 817 | return r; |
818 | } | 818 | } |
819 | 819 | ||
820 | /* | ||
821 | * Make sure that a cpu that is being hot-unplugged does not have any vcpus | ||
822 | * cached on it. | ||
823 | */ | ||
824 | void decache_vcpus_on_cpu(int cpu) | ||
825 | { | ||
826 | } | ||
827 | |||
828 | int kvm_dev_ioctl_check_extension(long ext) | 820 | int kvm_dev_ioctl_check_extension(long ext) |
829 | { | 821 | { |
830 | int r; | 822 | int r; |