diff options
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index d189ee098aa2..d12b2104d19b 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -33,10 +33,6 @@ | |||
33 | 33 | ||
34 | #include <asm/kvm_host.h> | 34 | #include <asm/kvm_host.h> |
35 | 35 | ||
36 | #ifndef KVM_MMIO_SIZE | ||
37 | #define KVM_MMIO_SIZE 8 | ||
38 | #endif | ||
39 | |||
40 | /* | 36 | /* |
41 | * The bit 16 ~ bit 31 of kvm_memory_region::flags are internally used | 37 | * The bit 16 ~ bit 31 of kvm_memory_region::flags are internally used |
42 | * in kvm, other bits are visible for userspace which are defined in | 38 | * in kvm, other bits are visible for userspace which are defined in |
@@ -600,6 +596,15 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext); | |||
600 | 596 | ||
601 | int kvm_get_dirty_log(struct kvm *kvm, | 597 | int kvm_get_dirty_log(struct kvm *kvm, |
602 | struct kvm_dirty_log *log, int *is_dirty); | 598 | struct kvm_dirty_log *log, int *is_dirty); |
599 | |||
600 | int kvm_get_dirty_log_protect(struct kvm *kvm, | ||
601 | struct kvm_dirty_log *log, bool *is_dirty); | ||
602 | |||
603 | void kvm_arch_mmu_enable_log_dirty_pt_masked(struct kvm *kvm, | ||
604 | struct kvm_memory_slot *slot, | ||
605 | gfn_t gfn_offset, | ||
606 | unsigned long mask); | ||
607 | |||
603 | int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, | 608 | int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, |
604 | struct kvm_dirty_log *log); | 609 | struct kvm_dirty_log *log); |
605 | 610 | ||
@@ -641,7 +646,7 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu); | |||
641 | void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); | 646 | void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); |
642 | struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id); | 647 | struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id); |
643 | int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu); | 648 | int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu); |
644 | int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu); | 649 | void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu); |
645 | void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu); | 650 | void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu); |
646 | 651 | ||
647 | int kvm_arch_hardware_enable(void); | 652 | int kvm_arch_hardware_enable(void); |
@@ -1031,6 +1036,8 @@ void kvm_unregister_device_ops(u32 type); | |||
1031 | 1036 | ||
1032 | extern struct kvm_device_ops kvm_mpic_ops; | 1037 | extern struct kvm_device_ops kvm_mpic_ops; |
1033 | extern struct kvm_device_ops kvm_xics_ops; | 1038 | extern struct kvm_device_ops kvm_xics_ops; |
1039 | extern struct kvm_device_ops kvm_arm_vgic_v2_ops; | ||
1040 | extern struct kvm_device_ops kvm_arm_vgic_v3_ops; | ||
1034 | 1041 | ||
1035 | #ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT | 1042 | #ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT |
1036 | 1043 | ||