diff options
author | Avi Kivity <avi@redhat.com> | 2012-07-26 04:54:21 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-26 04:54:21 -0400 |
commit | e9bda6f6f902e6b55d9baceb5523468a048cbe56 (patch) | |
tree | bf09cc165da1197cd34967da0593d08b9a37c0f3 /arch/x86/include/asm/kvm_host.h | |
parent | bdc0077af574800d24318b6945cf2344e8dbb050 (diff) | |
parent | 06e48c510aa37f6e791602e6420422ea7071fe94 (diff) |
Merge branch 'queue' into next
Merge patches queued during the run-up to the merge window.
* queue: (25 commits)
KVM: Choose better candidate for directed yield
KVM: Note down when cpu relax intercepted or pause loop exited
KVM: Add config to support ple or cpu relax optimzation
KVM: switch to symbolic name for irq_states size
KVM: x86: Fix typos in pmu.c
KVM: x86: Fix typos in lapic.c
KVM: x86: Fix typos in cpuid.c
KVM: x86: Fix typos in emulate.c
KVM: x86: Fix typos in x86.c
KVM: SVM: Fix typos
KVM: VMX: Fix typos
KVM: remove the unused parameter of gfn_to_pfn_memslot
KVM: remove is_error_hpa
KVM: make bad_pfn static to kvm_main.c
KVM: using get_fault_pfn to get the fault pfn
KVM: MMU: track the refcount when unmap the page
KVM: x86: remove unnecessary mark_page_dirty
KVM: MMU: Avoid handling same rmap_pde in kvm_handle_hva_range()
KVM: MMU: Push trace_kvm_age_page() into kvm_age_rmapp()
KVM: MMU: Add memslot parameter to hva handlers
...
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 09155d64cf7e..48e713188469 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -500,11 +500,11 @@ struct kvm_vcpu_arch { | |||
500 | }; | 500 | }; |
501 | 501 | ||
502 | struct kvm_lpage_info { | 502 | struct kvm_lpage_info { |
503 | unsigned long rmap_pde; | ||
504 | int write_count; | 503 | int write_count; |
505 | }; | 504 | }; |
506 | 505 | ||
507 | struct kvm_arch_memory_slot { | 506 | struct kvm_arch_memory_slot { |
507 | unsigned long *rmap_pde[KVM_NR_PAGE_SIZES - 1]; | ||
508 | struct kvm_lpage_info *lpage_info[KVM_NR_PAGE_SIZES - 1]; | 508 | struct kvm_lpage_info *lpage_info[KVM_NR_PAGE_SIZES - 1]; |
509 | }; | 509 | }; |
510 | 510 | ||
@@ -957,6 +957,7 @@ extern bool kvm_rebooting; | |||
957 | 957 | ||
958 | #define KVM_ARCH_WANT_MMU_NOTIFIER | 958 | #define KVM_ARCH_WANT_MMU_NOTIFIER |
959 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva); | 959 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva); |
960 | int kvm_unmap_hva_range(struct kvm *kvm, unsigned long start, unsigned long end); | ||
960 | int kvm_age_hva(struct kvm *kvm, unsigned long hva); | 961 | int kvm_age_hva(struct kvm *kvm, unsigned long hva); |
961 | int kvm_test_age_hva(struct kvm *kvm, unsigned long hva); | 962 | int kvm_test_age_hva(struct kvm *kvm, unsigned long hva); |
962 | void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte); | 963 | void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte); |