KVM: Non-x86 changes for 6.5
Sean Christopherson
reviewerNon-x86, a.k.a. generic, KVM changes for 6.5. As will hopefully always be the case for common changes from me, nothing particularly interesting.
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-generic-6.5
for you to fetch changes up to cc77b95acf3c7d9a24204b0555fed2014f300fd5:
kvm/eventfd: use list_for_each_entry when deassign ioeventfd (2023-06-13 14:25:39 -0700)
----------------------------------------------------------------
Common KVM changes for 6.5:
- Fix unprotected vcpu->pid dereference via debugfs
- Fix KVM_BUG() and KVM_BUG_ON() macros with 64-bit conditionals
- Refactor failure path in kvm_io_bus_unregister_dev() to simplify the code
- Misc cleanups
----------------------------------------------------------------
Binbin Wu (1):
KVM: Fix comment for KVM_ENABLE_CAP
Michal Luczaj (2):
KVM: Don't kfree(NULL) on kzalloc() failure in kvm_assign_ioeventfd_idx()
KVM: Clean up kvm_vm_ioctl_create_vcpu()
Sean Christopherson (1):
KVM: Protect vcpu->pid dereference via debugfs with RCU
Wei Wang (3):
KVM: allow KVM_BUG/KVM_BUG_ON to handle 64-bit cond
KVM: destruct kvm_io_device while unregistering it from kvm_io_bus kvm/eventfd: use list_for_each_entry when deassign ioeventfd
include/kvm/iodev.h | 6 ------ include/linux/kvm_host.h | 4 ++-- include/uapi/linux/kvm.h | 2 +- virt/kvm/coalesced_mmio.c | 9 ++------- virt/kvm/eventfd.c | 8 +++----- virt/kvm/kvm_main.c | 30 ++++++++++++++++++++---------- 6 files changed, 28 insertions(+), 31 deletions(-)
Sean Christopherson
reviewer[GIT PULL] KVM: x86: Misc changes for 6.5
KVM x86 "misc" changes for 6.5. The most notable change is the addition of a maintainer handbook, both because of its content, and because there's a trivial conflict in maintainer-handbooks.rst with an in-flight patch from the arm-soc
tree: https://lore.kernel.org/all/[email protected]
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-misc-6.5
for you to fetch changes up to 63e2f55cabedf8a7ede928f7cf3ab028af44b9e9:
Documentation/process: Add a maintainer handbook for KVM x86 (2023-06-22 14:25:38 -0700)
----------------------------------------------------------------
KVM x86 changes for 6.5:
- Move handling of PAT out of MTRR code and dedup SVM+VMX code
- Fix output of PIC poll command emulation when there's an interrupt
- Fix a longstanding bug in the reporting of the number of entries returned by KVM_GET_CPUID2
- Add a maintainer's handbook to document KVM x86 processes, preferred coding style, testing expectations, etc.
- Misc cleanups
----------------------------------------------------------------
Andy Shevchenko (1):
KVM: x86: Remove PRIx* definitions as they are solely for user space
Binbin Wu (1):
KVM: x86: Fix a typo in Documentation/virt/kvm/x86/mmu.rst
Chao Gao (1):
KVM: x86: Correct the name for skipping VMENTER l1d flush
Jinliang Zheng (1):
KVM: x86: Fix poll command
Ke Guo (1):
KVM: SVM: Use kvm_pat_valid() directly instead of kvm_mtrr_valid()
Michal Luczaj (1):
KVM: x86: Clean up: remove redundant bool conversions
Sean Christopherson (12):
KVM: x86: Add helper to query if variable MTRR MSR is base (versus mask)
KVM: x86: Add helper to get variable MTRR range from MSR index
KVM: x86: Use MTRR macros to define possible MTRR MSR ranges
KVM: x86: Move PAT MSR handling out of mtrr.c
KVM: x86: Make kvm_mtrr_valid() static now that there are no external users
KVM: x86: Move common handling of PAT MSR writes to kvm_set_msr_common()
KVM: x86: Update number of entries for KVM_GET_CPUID2 on success, not failure
KVM: selftests: Extend cpuid_test to verify KVM_GET_CPUID2 "nent" updates
KVM: x86: Use cpu_feature_enabled() for PKU instead of #ifdef
KVM: x86: Update comments about MSR lists exposed to userspace Documentation/process: Add a label for the tip tree handbook's coding style Documentation/process: Add a maintainer handbook for KVM x86
Wenyao Hai (1):
KVM: VMX: Open code writing vCPU's PAT in VMX's MSR handler
Documentation/process/maintainer-handbooks.rst | 1 + Documentation/process/maintainer-kvm-x86.rst | 390 ++++++++++++++++++++++++ Documentation/process/maintainer-tip.rst | 2 + Documentation/virt/kvm/x86/mmu.rst | 2 +- MAINTAINERS | 1 + arch/x86/kvm/cpuid.c | 13 +- arch/x86/kvm/i8259.c | 3 + arch/x86/kvm/lapic.c | 5 - arch/x86/kvm/mtrr.c | 64 ++-- arch/x86/kvm/svm/svm.c | 9 +- arch/x86/kvm/vmx/vmx.c | 11 +- arch/x86/kvm/x86.c | 56 ++-- arch/x86/kvm/x86.h | 1 - tools/testing/selftests/kvm/x86_64/cpuid_test.c | 21 ++ 14 files changed, 493 insertions(+), 86 deletions(-) create mode 100644 Documentation/process/maintainer-kvm-x86.rst
Paolo Bonzini
maintainerRe: [GIT PULL] KVM: x86: Misc changes for 6.5
Quoted 2 lines · Sean Christopherson
- Fix a longstanding bug in the reporting of the number of entries returned by
KVM_GET_CPUID2
This description does not match the actual commit which says there is no functional change. I have removed this entry from the merge commit, letting it go under "Misc cleanups".
Paolo
Sean Christopherson
reviewerRe: [GIT PULL] KVM: x86: Misc changes for 6.5
Quoted 7 lines · Paolo Bonzini
Quoted 2 lines · Sean Christopherson
- Fix a longstanding bug in the reporting of the number of entries returned by
KVM_GET_CPUID2This description does not match the actual commit which says there is no functional change. I have removed this entry from the merge commit, letting it go under "Misc cleanups".
Hmm, which commit are you looking at? This is the commit I was referring to in the tag.
commit ab322c43cce97ff6d05439c9b72bf1513e3e1020
Author: Sean Christopherson <[email protected]> Date: Fri May 26 14:03:39 2023 -0700
KVM: x86: Update number of entries for KVM_GET_CPUID2 on success, not failure
Update cpuid->nent if and only if kvm_vcpu_ioctl_get_cpuid2() succeeds. The sole caller copies @cpuid to userspace only on success, i.e. the existing code effectively does nothing.
Arguably, KVM should report the number of entries when returning -E2BIG so that userspace doesn't have to guess the size, but all other similar KVM ioctls() don't report the size either, i.e. userspace is conditioned to guess.
Paolo Bonzini
maintainerRe: [GIT PULL] KVM: x86: Misc changes for 6.5
Quoted 6 lines · Sean Christopherson
Quoted 4 lines · Paolo Bonzini
Quoted 2 lines · Sean Christopherson
- Fix a longstanding bug in the reporting of the number of entries returned by
KVM_GET_CPUID2
Quoted 6 lines
Quoted 3 lines
This description does not match the actual commit which says there is no functional change. I have removed this entry from the merge commit, letting it go under "Misc cleanups".
Hmm, which commit are you looking at? This is the commit I was referring to in the tag.
Yeah, you're right. You are removing the code from the failure case, but of course it's being added to the success case because of the
- return 0;
change.
Paolo
Sean Christopherson
reviewer[GIT PULL] KVM: x86: MMU changes for 6.5
In reply to Sean ChristophersonKVM x86/mmu changes for 6.5. The new "never" option for nx_huge_pages is far and away the most interesting change. If you have an opinion on whether or not KVM should default to "never" for CPUs that aren't affected by iTLB multi-hit, now would be a wonderful time to speak up :-)
https://lore.kernel.org/all/[email protected]
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-mmu-6.5
for you to fetch changes up to 0b210faf337314e4bc88e796218bc70c72a51209:
KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages (2023-06-13 09:16:03 -0700)
----------------------------------------------------------------
KVM x86/mmu changes for 6.5:
- Add back a comment about the subtle side effect of try_cmpxchg64() in tdp_mmu_set_spte_atomic()
- Add an assertion in __kvm_mmu_invalidate_addr() to verify that the target KVM MMU is the current MMU
- Add a "never" option to effectively avoid creating NX hugepage recovery threads
----------------------------------------------------------------
Like Xu (1):
KVM: x86/mmu: Assert on @mmu in the __kvm_mmu_invalidate_addr()
Sean Christopherson (1):
KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages
Uros Bizjak (1):
KVM: x86/mmu: Add comment on try_cmpxchg64 usage in tdp_mmu_set_spte_atomic
arch/x86/kvm/mmu/mmu.c | 49 +++++++++++++++++++++++++++++++++++++++++----- arch/x86/kvm/mmu/tdp_mmu.c | 5 ++++- 2 files changed, 48 insertions(+), 6 deletions(-)
Sean Christopherson
reviewer[GIT PULL] KVM: x86: PMU changes for 6.5
In reply to Sean ChristophersonKVM x86/pmu changes for 6.5. The highlight is also the only line item: support for AMD PerfMonV2.
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-pmu-6.5
for you to fetch changes up to 94cdeebd82111d7b7da5bd4da053eed9e0f65d72:
KVM: x86/cpuid: Add AMD CPUID ExtPerfMonAndDbg leaf 0x80000022 (2023-06-06 17:31:44 -0700)
----------------------------------------------------------------
KVM x86/pmu changes for 6.5:
- Add support for AMD PerfMonV2, with a variety of cleanups and minor fixes included along the way
----------------------------------------------------------------
Like Xu (11):
KVM: x86/pmu: Move reprogram_counters() to pmu.h
KVM: x86/pmu: Reject userspace attempts to set reserved GLOBAL_STATUS bits
KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86
KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 code
KVM: x86: Explicitly zero cpuid "0xa" leaf when PMU is disabled
KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't met
KVM: x86/pmu: Advertise PERFCTR_CORE iff the min nr of counters is met
KVM: x86/pmu: Constrain the num of guest counters with kvm_pmu_cap
KVM: x86/cpuid: Add a KVM-only leaf to redirect AMD PerfMonV2 flag
KVM: x86/svm/pmu: Add AMD PerfMonV2 support
KVM: x86/cpuid: Add AMD CPUID ExtPerfMonAndDbg leaf 0x80000022
Sean Christopherson (1):
KVM: x86/pmu: Rename global_ovf_ctrl_mask to global_status_mask
arch/x86/include/asm/kvm-x86-pmu-ops.h | 1 - arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/cpuid.c | 30 ++++++++++- arch/x86/kvm/pmu.c | 92 +++++++++++++++++++++++++++++++--- arch/x86/kvm/pmu.h | 56 +++++++++++++++++++-- arch/x86/kvm/reverse_cpuid.h | 7 +++ arch/x86/kvm/svm/pmu.c | 68 ++++++++++++++++++------- arch/x86/kvm/svm/svm.c | 19 +++++-- arch/x86/kvm/vmx/nested.c | 4 +- arch/x86/kvm/vmx/pmu_intel.c | 77 +++++----------------------- arch/x86/kvm/vmx/vmx.h | 12 ----- arch/x86/kvm/x86.c | 10 ++++ 12 files changed, 260 insertions(+), 118 deletions(-)
Sean Christopherson
reviewer[GIT PULL] KVM: x86: Selftests changes for 6.5
In reply to Sean ChristophersonKVM selftests changes for 6.5. The most notable change is adding dependency generation, and it's also the one I'm least confident about because my Makefile knowledge is abysmal. Please give that one an extra pass or two.
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.5
for you to fetch changes up to 5ed19528db8ddcf0113d721f67a381be3e30c65a:
KVM: selftests: Add new CFLAGS to generate dependency files (2023-06-13 14:26:22 -0700)
----------------------------------------------------------------
KVM selftests changes for 6.5:
- Add a test for splitting and reconstituting hugepages during and after dirty logging
- Add support for CPU pinning in demand paging test
- Generate dependency files so that partial rebuilds work as expected
- Misc cleanups and fixes
----------------------------------------------------------------
Ben Gardon (2):
KVM: selftests: Move dirty logging functions to memstress.(c|h)
KVM: selftests: Add dirty logging page splitting test
Colin Ian King (1):
KVM: selftests: Fix spelling mistake "miliseconds" -> "milliseconds"
Paolo Bonzini (1):
KVM: selftests: touch all pages of args on each memstress iteration
Peter Xu (3):
KVM: selftests: Setup vcpu_alias only for minor mode test
KVM: selftests: Allow dumping per-vcpu info for uffd threads
KVM: selftests: Allow specify physical cpu list in demand paging test
Sean Christopherson (1):
KVM: selftests: Refactor stable TSC check to use TEST_REQUIRE()
Yu Zhang (1):
KVM: selftests: Add new CFLAGS to generate dependency files
tools/testing/selftests/kvm/Makefile | 18 +- tools/testing/selftests/kvm/demand_paging_test.c | 32 ++- tools/testing/selftests/kvm/dirty_log_perf_test.c | 96 +------- .../testing/selftests/kvm/include/kvm_util_base.h | 1 + tools/testing/selftests/kvm/include/memstress.h | 8 + tools/testing/selftests/kvm/lib/kvm_util.c | 17 ++ tools/testing/selftests/kvm/lib/memstress.c | 75 ++++++ tools/testing/selftests/kvm/lib/userfaultfd_util.c | 4 +- .../kvm/x86_64/dirty_log_page_splitting_test.c | 259 +++++++++++++++++++++ .../selftests/kvm/x86_64/nx_huge_pages_test.c | 2 +- .../kvm/x86_64/vmx_nested_tsc_scaling_test.c | 22 +- 11 files changed, 416 insertions(+), 118 deletions(-) create mode 100644 tools/testing/selftests/kvm/x86_64/dirty_log_page_splitting_test.c
Sean Christopherson
reviewer[GIT PULL] KVM: x86: SVM changes for 6.5
In reply to Sean ChristophersonKVM SVM changes for 6.5. Misc fixes and cleanups, nothing super notable.
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-svm-6.5
for you to fetch changes up to 106ed2cad9f7bd803bd31a18fe7a9219b077bf95:
KVM: SVM: WARN, but continue, if misc_cg_set_capacity() fails (2023-06-13 09:20:26 -0700)
----------------------------------------------------------------
KVM SVM changes for 6.5:
- Drop manual TR/TSS load after VM-Exit now that KVM uses VMLOAD for host state
- Fix a not-yet-problematic missing call to trace_kvm_exit() for VM-Exits that are handled in the fastpath
- Print more descriptive information about the status of SEV and SEV-ES during module load
- Assert that misc_cg_set_capacity() doesn't fail to avoid should-be-impossible memory leaks
----------------------------------------------------------------
Alexander Mikhalitsyn (1):
KVM: SVM: enhance info printk's in SEV init
Mingwei Zhang (1):
KVM: SVM: Remove TSS reloading code after VMEXIT
Sean Christopherson (2):
KVM: SVM: Invoke trace_kvm_exit() for fastpath VM-Exits
KVM: SVM: WARN, but continue, if misc_cg_set_capacity() fails
arch/x86/kvm/svm/sev.c | 19 +++++++++++-------- arch/x86/kvm/svm/svm.c | 28 ++-------------------------- arch/x86/kvm/svm/svm.h | 1 - 3 files changed, 13 insertions(+), 35 deletions(-)
Sean Christopherson
reviewer[GIT PULL] KVM: x86: VMX changes for 6.5
In reply to Sean ChristophersonKVM VMX changes for 6.5. The highlight is moving away from .invalidate_range() for the APIC-access page, which you've already reviewed. Everything else is minor fixes and cleanups.
The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:
KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-vmx-6.5
for you to fetch changes up to 0a3869e14d4a5e1016aad6bc6c5b70f82bc0dbbe:
KVM: x86/mmu: Trigger APIC-access page reload iff vendor code cares (2023-06-06 15:07:05 -0700)
----------------------------------------------------------------
KVM VMX changes for 6.5:
- Fix missing/incorrect #GP checks on ENCLS
- Use standard mmu_notifier hooks for handling APIC access page
- Misc cleanups
----------------------------------------------------------------
Jinrong Liang (1):
KVM: x86/pmu: Remove redundant check for MSR_IA32_DS_AREA set handler
Jon Kohler (1):
KVM: VMX: restore vmx_vmexit alignment
Sean Christopherson (7):
KVM: VMX: Treat UMIP as emulated if and only if the host doesn't have UMIP
KVM: VMX: Use proper accessor to read guest CR4 in handle_desc()
KVM: VMX: Inject #GP on ENCLS if vCPU has paging disabled (CR0.PG==0)
KVM: VMX: Inject #GP, not #UD, if SGX2 ENCLS leafs are unsupported
KVM: VMX: Retry APIC-access page reload if invalidation is in-progress
KVM: x86: Use standard mmu_notifier invalidate hooks for APIC access page
KVM: x86/mmu: Trigger APIC-access page reload iff vendor code cares
Xiaoyao Li (2):
KVM: VMX: Use kvm_read_cr4() to get cr4 value
KVM: VMX: Move the comment of CR4.MCE handling right above the code
arch/x86/kvm/mmu/mmu.c | 4 +++ arch/x86/kvm/vmx/capabilities.h | 4 +-- arch/x86/kvm/vmx/nested.c | 3 +- arch/x86/kvm/vmx/pmu_intel.c | 2 -- arch/x86/kvm/vmx/sgx.c | 15 ++++++---- arch/x86/kvm/vmx/vmenter.S | 2 +- arch/x86/kvm/vmx/vmx.c | 66 ++++++++++++++++++++++++++++++++++------- arch/x86/kvm/x86.c | 14 --------- include/linux/kvm_host.h | 3 -- virt/kvm/kvm_main.c | 18 ----------- 10 files changed, 73 insertions(+), 58 deletions(-)
Paolo Bonzini
maintainerRe: [GIT PULL] KVM: x86: VMX changes for 6.5
Quoted 9 lines · Sean Christopherson
KVM VMX changes for 6.5. The highlight is moving away from .invalidate_range() for the APIC-access page, which you've already reviewed. Everything else is minor fixes and cleanups.
The following changes since commit
b9846a698c9aff4eb2214a06ac83638ad098f33f:KVM: VMX: add
MSR_IA32_TSX_CTRLintomsrs_to_save(2023-05-21 04:05:51 -0400)
Quoted 7 lines
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-vmx-6.5
for you to fetch changes up to
0a3869e14d4a5e1016aad6bc6c5b70f82bc0dbbe:KVM: x86/mmu: Trigger APIC-access page reload iff vendor code cares (2023-06-06 15:07:05 -0700)
Pulled all of them, thanks.
Paolo
Quoted 42 lines
----------------------------------------------------------------
KVM VMX changes for 6.5:- Fix missing/incorrect #GP checks on ENCLS
- Use standard
mmu_notifierhooks for handling APIC access page- Misc cleanups
----------------------------------------------------------------
Jinrong Liang (1):
KVM: x86/pmu: Remove redundant check forMSR_IA32_DS_AREAset handlerJon Kohler (1):
KVM: VMX: restorevmx_vmexitalignmentSean Christopherson (7):
KVM: VMX: Treat UMIP as emulated if and only if the host doesn't have UMIP
KVM: VMX: Use proper accessor to read guest CR4 inhandle_desc()
KVM: VMX: Inject #GP on ENCLS if vCPU has paging disabled (CR0.PG==0)
KVM: VMX: Inject #GP, not #UD, if SGX2 ENCLS leafs are unsupported
KVM: VMX: Retry APIC-access page reload if invalidation is in-progress
KVM: x86: Use standardmmu_notifierinvalidate hooks for APIC access page
KVM: x86/mmu: Trigger APIC-access page reload iff vendor code caresXiaoyao Li (2):
KVM: VMX: Usekvm_read_cr4()to get cr4 value
KVM: VMX: Move the comment of CR4.MCE handling right above the codearch/x86/kvm/mmu/mmu.c | 4 +++ arch/x86/kvm/vmx/capabilities.h | 4 +-- arch/x86/kvm/vmx/nested.c | 3 +- arch/x86/kvm/vmx/pmu_intel.c | 2 -- arch/x86/kvm/vmx/sgx.c | 15 ++++++---- arch/x86/kvm/vmx/vmenter.S | 2 +- arch/x86/kvm/vmx/vmx.c | 66 ++++++++++++++++++++++++++++++++++------- arch/x86/kvm/x86.c | 14 --------- include/linux/kvm_host.h | 3 -- virt/kvm/kvm_main.c | 18 ----------- 10 files changed, 73 insertions(+), 58 deletions(-)
Paolo Bonzini
maintainerQuoted 8 lines · Sean Christopherson
Non-x86, a.k.a. generic, KVM changes for 6.5. As will hopefully always be the case for common changes from me, nothing particularly interesting.
The following changes since commit
b9846a698c9aff4eb2214a06ac83638ad098f33f:KVM: VMX: add
MSR_IA32_TSX_CTRLintomsrs_to_save(2023-05-21 04:05:51 -0400)
Quoted 7 lines
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-generic-6.5
for you to fetch changes up to
cc77b95acf3c7d9a24204b0555fed2014f300fd5:kvm/eventfd: use
list_for_each_entrywhen deassign ioeventfd (2023-06-13 14:25:39 -0700)
Pulled, thanks.
Paolo
Quoted 35 lines
----------------------------------------------------------------
Common KVM changes for 6.5:- Fix unprotected
vcpu->piddereference via debugfs- Fix
KVM_BUG()andKVM_BUG_ON()macros with 64-bit conditionals- Refactor failure path in
kvm_io_bus_unregister_dev()to simplify the code- Misc cleanups
----------------------------------------------------------------
Binbin Wu (1):
KVM: Fix comment forKVM_ENABLE_CAPMichal Luczaj (2):
KVM: Don't kfree(NULL) onkzalloc()failure inkvm_assign_ioeventfd_idx()
KVM: Clean upkvm_vm_ioctl_create_vcpu()Sean Christopherson (1):
KVM: Protect vcpu->pid dereference via debugfs with RCUWei Wang (3):
KVM: allow KVM_BUG/KVM_BUG_ON to handle 64-bit cond
KVM: destructkvm_io_devicewhile unregistering it fromkvm_io_buskvm/eventfd: uselist_for_each_entrywhen deassign ioeventfdinclude/kvm/iodev.h | 6 ------ include/linux/kvm_host.h | 4 ++-- include/uapi/linux/kvm.h | 2 +- virt/kvm/coalesced_mmio.c | 9 ++------- virt/kvm/eventfd.c | 8 +++----- virt/kvm/kvm_main.c | 30 ++++++++++++++++++++---------- 6 files changed, 28 insertions(+), 31 deletions(-)