aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm/mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kvm/mips.c')
-rw-r--r--arch/mips/kvm/mips.c40
1 files changed, 1 insertions, 39 deletions
diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c
index cd7114147ae7..e3b21e51ff7e 100644
--- a/arch/mips/kvm/mips.c
+++ b/arch/mips/kvm/mips.c
@@ -77,24 +77,16 @@ int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu)
77 return 1; 77 return 1;
78} 78}
79 79
80int kvm_arch_hardware_enable(void *garbage) 80int kvm_arch_hardware_enable(void)
81{ 81{
82 return 0; 82 return 0;
83} 83}
84 84
85void kvm_arch_hardware_disable(void *garbage)
86{
87}
88
89int kvm_arch_hardware_setup(void) 85int kvm_arch_hardware_setup(void)
90{ 86{
91 return 0; 87 return 0;
92} 88}
93 89
94void kvm_arch_hardware_unsetup(void)
95{
96}
97
98void kvm_arch_check_processor_compat(void *rtn) 90void kvm_arch_check_processor_compat(void *rtn)
99{ 91{
100 *(int *)rtn = 0; 92 *(int *)rtn = 0;
@@ -163,10 +155,6 @@ void kvm_mips_free_vcpus(struct kvm *kvm)
163 mutex_unlock(&kvm->lock); 155 mutex_unlock(&kvm->lock);
164} 156}
165 157
166void kvm_arch_sync_events(struct kvm *kvm)
167{
168}
169
170static void kvm_mips_uninit_tlbs(void *arg) 158static void kvm_mips_uninit_tlbs(void *arg)
171{ 159{
172 /* Restore wired count */ 160 /* Restore wired count */
@@ -194,21 +182,12 @@ long kvm_arch_dev_ioctl(struct file *filp, unsigned int ioctl,
194 return -ENOIOCTLCMD; 182 return -ENOIOCTLCMD;
195} 183}
196 184
197void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free,
198 struct kvm_memory_slot *dont)
199{
200}
201
202int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, 185int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
203 unsigned long npages) 186 unsigned long npages)
204{ 187{
205 return 0; 188 return 0;
206} 189}
207 190
208void kvm_arch_memslots_updated(struct kvm *kvm)
209{
210}
211
212int kvm_arch_prepare_memory_region(struct kvm *kvm, 191int kvm_arch_prepare_memory_region(struct kvm *kvm,
213 struct kvm_memory_slot *memslot, 192 struct kvm_memory_slot *memslot,
214 struct kvm_userspace_memory_region *mem, 193 struct kvm_userspace_memory_region *mem,
@@ -254,19 +233,6 @@ void kvm_arch_commit_memory_region(struct kvm *kvm,
254 } 233 }
255} 234}
256 235
257void kvm_arch_flush_shadow_all(struct kvm *kvm)
258{
259}
260
261void kvm_arch_flush_shadow_memslot(struct kvm *kvm,
262 struct kvm_memory_slot *slot)
263{
264}
265
266void kvm_arch_flush_shadow(struct kvm *kvm)
267{
268}
269
270struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id) 236struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id)
271{ 237{
272 int err, size, offset; 238 int err, size, offset;
@@ -998,10 +964,6 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
998 return 0; 964 return 0;
999} 965}
1000 966
1001void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu)
1002{
1003}
1004
1005int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, 967int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu,
1006 struct kvm_translation *tr) 968 struct kvm_translation *tr)
1007{ 969{