aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge tag 'kvm-x86-generic-6.10' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-2/+0
2024-05-02KVM: Remove kvm_make_all_cpus_request_except()Venkatesh Srinivas1-2/+0
2024-04-11KVM: delete .change_pte MMU notifier callbackPaolo Bonzini1-2/+0
2024-03-15Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-14/+46
2024-03-11Merge tag 'kvm-x86-xen-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-12/+44
2024-03-11Merge tag 'kvm-x86-misc-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-0/+1
2024-03-11Merge tag 'kvm-x86-asyncpf-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-1/+0
2024-02-23KVM: Get rid of return value from kvm_arch_create_vm_debugfs()Oliver Upton1-1/+1
2024-02-23KVM: x86/mmu: Retry fault before acquiring mmu_lock if mapping is changingSean Christopherson1-0/+26
2024-02-22KVM: Add dedicated arch hook for querying if vCPU was preempted in-kernelSean Christopherson1-0/+1
2024-02-20KVM: pfncache: allow a cache to be activated with a fixed (userspace) HVAPaul Durrant1-0/+31
2024-02-20KVM: s390: Refactor kvm_is_error_gpa() into kvm_is_gpa_in_memslot()Sean Christopherson1-2/+2
2024-02-20KVM: pfncache: remove KVM_GUEST_USES_PFN usagePaul Durrant1-10/+1
2024-02-20KVM: pfncache: add a mark-dirty helperPaul Durrant1-0/+10
2024-02-06KVM: Get reference to VM's address space in the async #PF workerSean Christopherson1-1/+0
2023-12-08KVM: clean up directives to compile out irqfdsPaolo Bonzini1-0/+2
2023-12-08KVM: remove CONFIG_HAVE_KVM_IRQFDPaolo Bonzini1-5/+4
2023-12-08KVM: remove CONFIG_HAVE_KVM_EVENTFDPaolo Bonzini1-29/+1
2023-11-14Merge branch 'kvm-guestmemfd' into HEADPaolo Bonzini1-23/+119
2023-11-14KVM: Allow arch code to track number of memslot address spaces per VMSean Christopherson1-6/+11
2023-11-14KVM: Drop superfluous __KVM_VCPU_MULTIPLE_ADDRESS_SPACE macroSean Christopherson1-1/+1
2023-11-14KVM: x86/mmu: Handle page fault for private memoryChao Peng1-2/+6
2023-11-14KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memorySean Christopherson1-0/+48
2023-11-13KVM: Introduce per-page memory attributesChao Peng1-0/+19
2023-11-13KVM: Add KVM_EXIT_MEMORY_FAULT exit to report faults to userspaceChao Peng1-0/+11
2023-11-13KVM: Introduce KVM_SET_USER_MEMORY_REGION2Sean Christopherson1-2/+2
2023-11-13KVM: Convert KVM_ARCH_WANT_MMU_NOTIFIER to CONFIG_KVM_GENERIC_MMU_NOTIFIERSean Christopherson1-3/+3
2023-11-13KVM: Use gfn instead of hva for mmu_notifier_retryChao Peng1-12/+21
2023-10-08KVM: Annotate struct kvm_irq_routing_table with __counted_byKees Cook1-1/+1
2023-08-31KVM: x86/mmu: BUG() in rmap helpers iff CONFIG_BUG_ON_DATA_CORRUPTION=ySean Christopherson1-0/+19
2023-08-31Merge tag 'kvm-x86-generic-6.6' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-5/+5
2023-08-17KVM: Remove unused kvm_make_cpus_request_mask() declarationYue Haibing1-2/+0
2023-08-17KVM: Remove unused kvm_device_{get,put}() declarationsYue Haibing1-2/+0
2023-08-17KVM: Wrap kvm_{gfn,hva}_range.pte in a per-action unionSean Christopherson1-1/+5
2023-08-17KVM: Move kvm_arch_flush_remote_tlbs_memslot() to common codeDavid Matlack1-4/+3
2023-08-17KVM: Allow range-based TLB invalidation from common codeDavid Matlack1-0/+11
2023-08-17KVM: Declare kvm_arch_flush_remote_tlbs() globallyRaghavendra Rao Ananta1-0/+2
2023-08-17KVM: Rename kvm_arch_flush_remote_tlb() to kvm_arch_flush_remote_tlbs()David Matlack1-2/+2
2023-07-01Merge tag 'kvm-x86-vmx-6.5' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-3/+0
2023-07-01Merge tag 'kvm-x86-generic-6.5' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-2/+2
2023-06-06KVM: x86: Use standard mmu_notifier invalidate hooks for APIC access pageSean Christopherson1-3/+0
2023-06-01KVM: allow KVM_BUG/KVM_BUG_ON to handle 64-bit condWei Wang1-2/+2
2023-05-16KVM: arm64: Export kvm_are_all_memslots_empty()Ricardo Koller1-0/+2
2023-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-4/+3
2023-03-27KVM: x86/ioapic: Resample the pending state of an IRQ when unmaskingDmytro Maluka1-0/+10
2023-03-27KVM: irqfd: Make resampler_list an RCU listDmytro Maluka1-0/+1
2023-03-24KVM: Fix comments that refer to the non-existent install_new_memslots()Jun Miao1-2/+2
2023-03-16KVM: Change return type of kvm_arch_vm_ioctl() to "int"Thomas Huth1-2/+1
2023-02-07KVM: update code comment in struct kvm_vcpuWang Yong1-1/+1
2023-01-24kvm_host.h: fix spelling typo in function declarationWang Liang1-1/+1
2023-01-24KVM: account allocation in generic version of kvm_arch_alloc_vm()Alexey Dobriyan1-1/+1
2022-12-29KVM: Opt out of generic hardware enabling on s390 and PPCSean Christopherson1-0/+4
2022-12-29KVM: Drop kvm_arch_check_processor_compat() hookSean Christopherson1-3/+1
2022-12-29KVM: Drop kvm_arch_{init,exit}() hooksSean Christopherson1-3/+0
2022-12-29KVM: Drop arch hardware (un)setup hooksSean Christopherson1-2/+0
2022-12-15Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-54/+53
2022-12-12Merge remote-tracking branch 'kvm/queue' into HEADPaolo Bonzini1-48/+28
2022-12-12Merge tag 'rcu.2022.12.02a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-12-09Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini1-4/+6
2022-12-05Merge branch kvm-arm64/dirty-ring into kvmarm-master/nextMarc Zyngier1-4/+6
2022-12-02Merge branch 'gpc-fixes' of git://git.infradead.org/users/dwmw2/linux into HEADPaolo Bonzini1-41/+22
2022-12-02KVM: Reference to kvm_userspace_memory_region in doc and commentsJavier Martinez Canillas1-2/+2
2022-11-30KVM: Drop @gpa from exported gfn=>pfn cache check() and refresh() helpersSean Christopherson1-5/+3
2022-11-30KVM: Drop KVM's API to allow temporarily unmapping gfn=>pfn cacheSean Christopherson1-12/+0
2022-11-30KVM: Use gfn_to_pfn_cache's immutable "kvm" in kvm_gpc_refresh()Michal Luczaj1-6/+4
2022-11-30KVM: Use gfn_to_pfn_cache's immutable "kvm" in kvm_gpc_check()Michal Luczaj1-3/+1
2022-11-30KVM: Store immutable gfn_to_pfn_cache propertiesMichal Luczaj1-19/+18
2022-11-30KVM: Shorten gfn_to_pfn_cache function namesMichal Luczaj1-11/+10
2022-11-28KVM: always declare prototype for kvm_arch_irqchip_in_kernelPaolo Bonzini1-1/+1
2022-11-18KVM: x86: avoid memslot check in NX hugepage recovery if it cannot succeedPaolo Bonzini1-0/+5
2022-11-17KVM: Obey kvm.halt_poll_ns in VMs not using KVM_CAP_HALT_POLLDavid Matlack1-0/+1
2022-11-10KVM: Support dirty ring in conjunction with bitmapGavin Shan1-0/+1
2022-11-10KVM: x86: Introduce KVM_REQ_DIRTY_RING_SOFT_FULLGavin Shan1-4/+5
2022-11-09KVM: replace direct irq.h inclusionPaolo Bonzini1-0/+2
2022-11-09kvm: Add interruptible flag to __gfn_to_pfn_memslot()Peter Xu1-2/+2
2022-11-09kvm: Add KVM_PFN_ERR_SIGPENDINGPeter Xu1-0/+10
2022-10-27KVM: Initialize gfn_to_pfn_cache locks in dedicated helperMichal Luczaj1-7/+17
2022-10-22kvm: Add support for arch compat vm ioctlsAlexander Graf1-0/+2
2022-10-18rcu: Remove unused 'cpu' in rcu_virt_note_context_switch()Zeng Heng1-1/+1
2022-09-26KVM: remove KVM_REQ_UNHALTPaolo Bonzini1-2/+1
2022-08-30KVM: x86/mmu: count KVM mmu usage in secondary pagetable stats.Yosry Ahmed1-0/+13
2022-08-19KVM: Rename mmu_notifier_* to mmu_invalidate_*Chao Peng1-29/+31
2022-08-19KVM: Rename KVM_PRIVATE_MEM_SLOTS to KVM_INTERNAL_MEM_SLOTSChao Peng1-3/+3
2022-08-01Merge remote-tracking branch 'kvm/next' into kvm-next-5.20Paolo Bonzini1-15/+5
2022-07-14kvm: stats: tell userspace which values are booleanPaolo Bonzini1-1/+10
2022-07-12KVM: x86: Query vcpu->vcpu_idx directly and drop its accessor, againSean Christopherson1-5/+0
2022-06-27x86/kvm/vmx: Make noinstr cleanPeter Zijlstra1-1/+1
2022-06-24KVM: debugfs: expose pid of vcpu threadsVineeth Pillai1-0/+2
2022-06-24KVM: Allow for different capacities in kvm_mmu_memory_cache structsDavid Matlack1-0/+1
2022-06-20KVM: Rename/refactor kvm_is_reserved_pfn() to kvm_pfn_to_refcounted_page()Sean Christopherson1-1/+1
2022-06-20KVM: Take a 'struct page', not a pfn in kvm_is_zone_device_page()Sean Christopherson1-1/+1
2022-06-20KVM: Remove kvm_vcpu_gfn_to_page() and kvm_vcpu_gpa_to_page()Sean Christopherson1-7/+0
2022-06-20KVM: Avoid pfn_to_page() and vice versa when releasing pagesSean Christopherson1-1/+0
2022-05-26Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+3
2022-05-25Merge tag 'kvmarm-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-1/+25
2022-05-24Merge tag 'locking-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2022-05-02KVM: Add max_vcpus field in common 'struct kvm'Sean Christopherson1-0/+1
2022-04-21KVM: SEV: add cache flush to solve SEV cache incoherency issuesMingwei Zhang1-0/+2
2022-04-21KVM: Add helpers to wrap vcpu->srcu_idx and yell if it's abusedSean Christopherson1-1/+23
2022-04-05lockdep: Fix -Wunused-parameter for _THIS_IP_Nick Desaulniers1-1/+1
2022-04-02KVM: x86/xen: Make kvm_xen_set_evtchn() reusable from other placesDavid Woodhouse1-1/+2
2022-04-02KVM: Remove dirty handling from gfn_to_pfn_cache completelyDavid Woodhouse1-9/+5
2022-04-02KVM: Use enum to track if cached PFN will be used in guest and/or hostSean Christopherson1-8/+8
2022-04-02KVM: Don't actually set a request when evicting vCPUs for GFN cache invdSean Christopherson1-7/+31
2022-03-01KVM: Drop KVM_REQ_MMU_RELOAD and update vcpu-requests.rst documentationSean Christopherson1-2/+1
2022-03-01KVM: Drop kvm_reload_remote_mmus(), open code request in x86 usersSean Christopherson1-1/+0
2022-02-05Merge tag 'kvmarm-fixes-5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/...Paolo Bonzini1-0/+10
2022-02-01kvm: add guest_state_{enter,exit}_irqoff()Mark Rutland1-3/+109
2022-01-22Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-3/+0
2022-01-19KVM: Move x86 VMX's posted interrupt list_head to vcpu_vmxSean Christopherson1-2/+0
2022-01-19KVM: Drop unused kvm_vcpu.pre_pcpu fieldSean Christopherson1-1/+0
2022-01-16Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-92/+340
2022-01-12Merge tag 'perf_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+10
2022-01-07KVM: x86/xen: Add KVM_IRQ_ROUTING_XEN_EVTCHN and event channel deliveryDavid Woodhouse1-0/+7
2022-01-07KVM: Reinstate gfn_to_pfn_cache with invalidation supportDavid Woodhouse1-0/+103
2022-01-07Merge tag 'kvmarm-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-1/+0
2021-12-08KVM: Add helpers to wake/query blocking vCPUSean Christopherson1-0/+14
2021-12-08KVM: stats: Add stat to detect if vcpu is currently blockingJing Zhang1-1/+2
2021-12-08KVM: Split out a kvm_vcpu_block() helper from kvm_vcpu_halt()Sean Christopherson1-0/+1
2021-12-08KVM: Rename kvm_vcpu_block() => kvm_vcpu_halt()Sean Christopherson1-1/+1
2021-12-08KVM: Force PPC to define its own rcuwait objectSean Christopherson1-0/+2
2021-12-08KVM: x86/mmu: Propagate memslot const qualifierBen Gardon1-5/+5
2021-12-08KVM: Optimize gfn lookup in kvm_zap_gfn_range()Maciej S. Szmigiero1-0/+94
2021-12-08KVM: Keep memslots in tree-based structures instead of array-based onesMaciej S. Szmigiero1-72/+71
2021-12-08KVM: Use interval tree to do fast hva lookup in memslotsMaciej S. Szmigiero1-0/+3
2021-12-08KVM: Resolve memslot ID via a hash table instead of via a static arrayMaciej S. Szmigiero1-9/+16
2021-12-08KVM: Integrate gfn_to_memslot_approx() into search_memslots()Maciej S. Szmigiero1-8/+27
2021-12-08KVM: Stop passing kvm_userspace_memory_region to arch memslot hooksSean Christopherson1-2/+0
2021-12-08KVM: Let/force architectures to deal with arch specific memslot dataSean Christopherson1-1/+2
2021-12-08KVM: Require total number of memslot pages to fit in an unsigned longSean Christopherson1-0/+1
2021-12-08KVM: Convert kvm_for_each_vcpu() to using xa_for_each_range()Marc Zyngier1-5/+3
2021-12-08KVM: Use 'unsigned long' as kvm_for_each_vcpu()'s indexMarc Zyngier1-1/+1
2021-12-08KVM: Convert the kvm->vcpus array to a xarrayMarc Zyngier1-2/+3
2021-12-08KVM: Move wiping of the kvm->vcpus array to common codeMarc Zyngier1-1/+1
2021-12-07KVM: Drop stale kvm_is_transparent_hugepage() declarationVitaly Kuznetsov1-1/+0
2021-11-18Merge branch 'kvm-5.16-fixes' into kvm-masterPaolo Bonzini1-5/+1
2021-11-18KVM: Kill kvm_map_gfn() / kvm_unmap_gfn() and gfn_to_pfn_cacheDavid Woodhouse1-5/+1
2021-11-17KVM: Move x86's perf guest info callbacks to generic KVMSean Christopherson1-0/+10
2021-11-11KVM: generalize "bugged" VM to "dead" VMPaolo Bonzini1-2/+10
2021-10-01kvm: use kvfree() in kvm_arch_free_vm()Juergen Gross1-1/+8
2021-09-30kvm: irqfd: avoid update unmodified entries of the routingLongpeng(Mike)1-0/+2
2021-09-30kvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDSJuergen Gross1-2/+2
2021-09-30KVM: Make kvm_make_vcpus_request_mask() use pre-allocated cpu_kick_maskVitaly Kuznetsov1-1/+1
2021-09-30KVM: Drop 'except' parameter from kvm_make_vcpus_request_mask()Vitaly Kuznetsov1-1/+0
2021-09-23KVM: Remove tlbs_dirtyLai Jiangshan1-1/+0
2021-09-22KVM: x86: Query vcpu->vcpu_idx directly and drop its accessorSean Christopherson1-5/+0
2021-09-06Merge tag 'kvmarm-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-1/+0
2021-09-06KVM: stats: Add VM stat for remote tlb flush requestsJing Zhang1-1/+2
2021-08-20KVM: stats: Add halt polling related histogram statsJing Zhang1-1/+7
2021-08-20KVM: stats: Add halt_wait_ns stats for all architecturesJing Zhang1-1/+2
2021-08-20KVM: stats: Support linear and logarithmic histogram statisticsJing Zhang1-15/+75
2021-08-20KVM: x86/mmu: bump mmu notifier count in kvm_zap_gfn_rangeMaxim Levitsky1-0/+5
2021-08-13KVM: Allow to have arch-specific per-vm debugfs filesPeter Xu1-0/+1
2021-08-06KVM: Cache the last used slot index per vCPUDavid Matlack1-0/+13
2021-08-06KVM: Move last_used_slot logic out of search_memslotsDavid Matlack1-16/+48
2021-08-06KVM: Rename lru_slot to last_used_slotDavid Matlack1-3/+3
2021-08-03KVM: Block memslot updates across range_start() and range_end()Paolo Bonzini1-0/+5
2021-08-02KVM: Introduce kvm_get_kvm_safe()Peter Xu1-0/+1
2021-08-02KVM: Export kvm_make_all_cpus_request() for use in marking VMs as buggedSean Christopherson1-9/+9
2021-08-02KVM: Add infrastructure and macro to mark VM as buggedSean Christopherson1-1/+27
2021-08-02KVM: Get rid of kvm_get_pfn()Marc Zyngier1-1/+0
2021-06-24KVM: debugfs: Reuse binary stats descriptorsJing Zhang1-16/+1
2021-06-24KVM: stats: Support binary stats retrieval for a VCPUJing Zhang1-1/+12
2021-06-24KVM: stats: Support binary stats retrieval for a VMJing Zhang1-0/+6
2021-06-24KVM: stats: Add fd-based API to read binary stats dataJing Zhang1-2/+80
2021-06-17kvm: add PM-notifierSergey Senozhatsky1-0/+9
2021-06-17KVM: mmu: Add slots_arch_lock for memslot arch fieldsBen Gardon1-0/+9
2021-06-09kvm: fix previous commit for 32-bit buildsPaolo Bonzini1-2/+2
2021-06-08kvm: avoid speculation-based attacks from out-of-range memslot accessesPaolo Bonzini1-1/+9
2021-05-27KVM: rename KVM_REQ_PENDING_TIMER to KVM_REQ_UNBLOCKMarcelo Tosatti1-1/+1
2021-05-27KVM: PPC: exit halt polling on need_resched()Wanpeng Li1-0/+6
2021-05-05context_tracking: KVM: Move guest enter/exit wrappers to KVM's domainSean Christopherson1-0/+45
2021-04-21KVM: Boost vCPU candidate in user mode which is delivering interruptWanpeng Li1-0/+1
2021-04-21KVM: x86: Support KVM VMs sharing SEV contextNathan Tempelman1-0/+1
2021-04-20KVM: Stop looking for coalesced MMIO zones if the bus is destroyedSean Christopherson1-2/+2
2021-04-19KVM: x86/mmu: Re-add const qualifier in kvm_tdp_mmu_zap_collapsible_sptesBen Gardon1-1/+1
2021-04-17KVM: Kill off the old hva-based MMU notifier callbacksSean Christopherson1-8/+0
2021-04-17KVM: Move x86's MMU notifier memslot walkers to generic codeSean Christopherson1-0/+14
2021-04-17KVM: constify kvm_arch_flush_remote_tlbs_memslotPaolo Bonzini1-1/+1
2021-04-17KVM: Move prototypes for MMU notifier callbacks to generic codeSean Christopherson1-0/+8
2021-02-22KVM: x86/mmu: Consider the hva in mmu_notifier retryDavid Stevens1-1/+24
2021-02-09KVM: Raise the maximum number of user memslotsVitaly Kuznetsov1-3/+2
2021-02-04KVM: x86/mmu: Use an rwlock for the x86 MMUBen Gardon1-0/+5
2020-11-15KVM: Don't allocate dirty bitmap if dirty ring is enabledPeter Xu1-0/+5
2020-11-15KVM: X86: Implement ring-based dirty memory trackingPeter Xu1-0/+13
2020-11-15KVM: Pass in kvm pointer into mark_page_dirty_in_slot()Peter Xu1-1/+1
2020-11-15KVM: remove kvm_clear_guest_pagePaolo Bonzini1-1/+0
2020-10-23kvm: x86/mmu: Support dirty logging for the TDP MMUBen Gardon1-0/+1
2020-10-21KVM: Cache as_id in kvm_memory_slotPeter Xu1-0/+1
2020-08-21KVM: arm64: pvtime: Fix stolen time accounting across migrationAndrew Jones1-0/+20
2020-08-21KVM: arm64: Drop type input from kvm_put_guestAndrew Jones1-5/+6
2020-08-06Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-2/+10
2020-07-24entry: Provide infrastructure for work before transitioning to guest modeThomas Gleixner1-0/+8
2020-07-09KVM: Move x86's MMU memory cache helpers to common KVM codeSean Christopherson1-0/+7
2020-07-09KVM: x86: take as_id into account when checking PGDVitaly Kuznetsov1-0/+1
2020-07-08KVM: async_pf: change kvm_setup_async_pf()/kvm_arch_setup_async_pf() return t...Vitaly Kuznetsov1-2/+2
2020-06-15KVM: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-06-11KVM: async_pf: Inject 'page ready' event only if 'page not present' was previ...Vitaly Kuznetsov1-0/+1
2020-06-08KVM: x86: Fix APIC page invalidation raceEiichi Tsukata1-2/+2
2020-06-04KVM: let kvm_destroy_vm_debugfs clean up vCPU debugfs directoriesPaolo Bonzini1-2/+1