diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-04 14:36:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-04 14:36:19 -0500 |
commit | 2d62e0768d3c28536d4cfe4c40ba1e5e8e442a93 (patch) | |
tree | 333f8cbcdb3b650813d758711a9e4ceee7b6fbce /include/linux | |
parent | be834aafdf5f8a37c191e697ac8ee6d53ab5020c (diff) | |
parent | 16ce771b93ab569490fd27415694132a7ade0d79 (diff) |
Merge tag 'kvm-4.11-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull more KVM updates from Radim Krčmář:
"Second batch of KVM changes for the 4.11 merge window:
PPC:
- correct assumption about ASDR on POWER9
- fix MMIO emulation on POWER9
x86:
- add a simple test for ioperm
- cleanup TSS (going through KVM tree as the whole undertaking was
caused by VMX's use of TSS)
- fix nVMX interrupt delivery
- fix some performance counters in the guest
... and two cleanup patches"
* tag 'kvm-4.11-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
KVM: nVMX: Fix pending events injection
x86/kvm/vmx: remove unused variable in segment_base()
selftests/x86: Add a basic selftest for ioperm
x86/asm: Tidy up TSS limit code
kvm: convert kvm.users_count from atomic_t to refcount_t
KVM: x86: never specify a sample period for virtualized in_tx_cp counters
KVM: PPC: Book3S HV: Don't use ASDR for real-mode HPT faults on POWER9
KVM: PPC: Book3S HV: Fix software walk of guest process page tables
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kvm_host.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 8d69d5150748..2c14ad9809da 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/context_tracking.h> | 26 | #include <linux/context_tracking.h> |
27 | #include <linux/irqbypass.h> | 27 | #include <linux/irqbypass.h> |
28 | #include <linux/swait.h> | 28 | #include <linux/swait.h> |
29 | #include <linux/refcount.h> | ||
29 | #include <asm/signal.h> | 30 | #include <asm/signal.h> |
30 | 31 | ||
31 | #include <linux/kvm.h> | 32 | #include <linux/kvm.h> |
@@ -401,7 +402,7 @@ struct kvm { | |||
401 | #endif | 402 | #endif |
402 | struct kvm_vm_stat stat; | 403 | struct kvm_vm_stat stat; |
403 | struct kvm_arch arch; | 404 | struct kvm_arch arch; |
404 | atomic_t users_count; | 405 | refcount_t users_count; |
405 | #ifdef KVM_COALESCED_MMIO_PAGE_OFFSET | 406 | #ifdef KVM_COALESCED_MMIO_PAGE_OFFSET |
406 | struct kvm_coalesced_mmio_ring *coalesced_mmio_ring; | 407 | struct kvm_coalesced_mmio_ring *coalesced_mmio_ring; |
407 | spinlock_t ring_lock; | 408 | spinlock_t ring_lock; |