|
@@ -106,10 +106,6 @@ int kvm_arch_hardware_enable(void *garbage)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_hardware_disable(void *garbage)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static void kvm_gmap_notifier(struct gmap *gmap, unsigned long address);
|
|
static void kvm_gmap_notifier(struct gmap *gmap, unsigned long address);
|
|
|
|
|
|
int kvm_arch_hardware_setup(void)
|
|
int kvm_arch_hardware_setup(void)
|
|
@@ -124,19 +120,11 @@ void kvm_arch_hardware_unsetup(void)
|
|
gmap_unregister_ipte_notifier(&gmap_notifier);
|
|
gmap_unregister_ipte_notifier(&gmap_notifier);
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_check_processor_compat(void *rtn)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int kvm_arch_init(void *opaque)
|
|
int kvm_arch_init(void *opaque)
|
|
{
|
|
{
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_exit(void)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/* Section: device related */
|
|
/* Section: device related */
|
|
long kvm_arch_dev_ioctl(struct file *filp,
|
|
long kvm_arch_dev_ioctl(struct file *filp,
|
|
unsigned int ioctl, unsigned long arg)
|
|
unsigned int ioctl, unsigned long arg)
|
|
@@ -514,10 +502,6 @@ static void kvm_free_vcpus(struct kvm *kvm)
|
|
mutex_unlock(&kvm->lock);
|
|
mutex_unlock(&kvm->lock);
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_sync_events(struct kvm *kvm)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void kvm_arch_destroy_vm(struct kvm *kvm)
|
|
void kvm_arch_destroy_vm(struct kvm *kvm)
|
|
{
|
|
{
|
|
kvm_free_vcpus(kvm);
|
|
kvm_free_vcpus(kvm);
|
|
@@ -552,15 +536,6 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu)
|
|
|
|
-{
|
|
|
|
- /* Nothing todo */
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
|
|
void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
|
|
{
|
|
{
|
|
save_fp_ctl(&vcpu->arch.host_fpregs.fpc);
|
|
save_fp_ctl(&vcpu->arch.host_fpregs.fpc);
|
|
@@ -1708,21 +1683,12 @@ int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf)
|
|
return VM_FAULT_SIGBUS;
|
|
return VM_FAULT_SIGBUS;
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free,
|
|
|
|
- struct kvm_memory_slot *dont)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
|
|
int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
|
|
unsigned long npages)
|
|
unsigned long npages)
|
|
{
|
|
{
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_memslots_updated(struct kvm *kvm)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/* Section: memory related */
|
|
/* Section: memory related */
|
|
int kvm_arch_prepare_memory_region(struct kvm *kvm,
|
|
int kvm_arch_prepare_memory_region(struct kvm *kvm,
|
|
struct kvm_memory_slot *memslot,
|
|
struct kvm_memory_slot *memslot,
|
|
@@ -1768,15 +1734,6 @@ void kvm_arch_commit_memory_region(struct kvm *kvm,
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
-void kvm_arch_flush_shadow_all(struct kvm *kvm)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-void kvm_arch_flush_shadow_memslot(struct kvm *kvm,
|
|
|
|
- struct kvm_memory_slot *slot)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static int __init kvm_s390_init(void)
|
|
static int __init kvm_s390_init(void)
|
|
{
|
|
{
|
|
int ret;
|
|
int ret;
|