Home
last modified time | relevance | path

Searched refs:KVM_BUG_ON (Results 1 – 23 of 23) sorted by relevance

/linux/arch/s390/kvm/gmap/
H A Dgmap.c86 KVM_BUG_ON(is_ucontrol(parent) && parent->parent, parent->kvm); in gmap_add_child()
87 KVM_BUG_ON(is_ucontrol(parent) && !owns_page_tables(parent), parent->kvm); in gmap_add_child()
88 KVM_BUG_ON(!refcount_read(&child->refcount), parent->kvm); in gmap_add_child()
177 if (KVM_BUG_ON(!child->parent, child->kvm)) in gmap_remove_child()
193 KVM_BUG_ON(gmap->parent, gmap->kvm); in gmap_dispose()
195 KVM_BUG_ON(!list_empty(&gmap->children), gmap->kvm); in gmap_dispose()
197 KVM_BUG_ON(!list_empty(&gmap->scb_users), gmap->kvm); in gmap_dispose()
199 KVM_BUG_ON(!gmap->asce.val, gmap->kvm); in gmap_dispose()
201 KVM_BUG_ON(refcount_read(&gmap->refcount), gmap->kvm); in gmap_dispose()
422 KVM_BUG_ON(!old.s.fc1.vsie_notif, priv->gmap->kvm); in _gmap_unmap_crste()
[all …]
H A Dkvm_mmu.c114 KVM_BUG_ON(rc, kvm); in s390_kvm_mmu_prepare_memory_region()
/linux/arch/x86/kvm/vmx/
H A Dtdx.c66 KVM_BUG_ON(1, tdx->vcpu.kvm); in tdh_vp_rd_failed()
73 KVM_BUG_ON(1, tdx->vcpu.kvm); in tdh_vp_wr_failed()
727 KVM_BUG_ON(cpu != raw_smp_processor_id(), vcpu->kvm); in tdx_vcpu_load()
874 KVM_BUG_ON(tdx->state == VCPU_TD_STATE_INITIALIZED, vcpu->kvm); in tdx_vcpu_free()
1619 if (KVM_BUG_ON(shared_bit != kvm_gfn_direct_bits(vcpu->kvm), vcpu->kvm)) in tdx_load_mmu_pgd()
1645 if (KVM_BUG_ON(kvm->arch.pre_fault_allowed, kvm) || in tdx_mem_page_add()
1646 KVM_BUG_ON(!kvm_tdx->page_add_src, kvm)) in tdx_mem_page_add()
1683 if (KVM_BUG_ON(!sp->external_spt, kvm) || in tdx_spte_to_sept_pt()
1684 KVM_BUG_ON(sp->role.level + 1 != level, kvm) || in tdx_spte_to_sept_pt()
1685 KVM_BUG_ON(sp->gfn != gfn, kvm)) in tdx_spte_to_sept_pt()
[all …]
H A Dpmu_intel.c524 if (KVM_BUG_ON(lbr_desc->msr_passthrough, vcpu->kvm)) in intel_pmu_refresh()
H A Dvmx.c1078 if (KVM_BUG_ON(m->nr == MAX_NR_LOADSTORE_MSRS, kvm)) in vmx_add_auto_msr()
2676 KVM_BUG_ON(1, vcpu->kvm); in vmx_cache_reg()
3269 if (KVM_BUG_ON(efer & EFER_LMA, vcpu->kvm)) in vmx_set_efer()
6028 if (KVM_BUG_ON(!enable_vnmi, vcpu->kvm)) in handle_nmi_window()
6735 if (KVM_BUG_ON(vcpu->arch.nested_run_pending, vcpu->kvm)) in __vmx_handle_exit()
7073 if (KVM_BUG_ON(!enable_apicv, vcpu->kvm)) in vmx_sync_pir_to_irr()
H A Dnested.c2004 KVM_BUG_ON(1, vmx->vcpu.kvm); in copy_enlightened_to_vmcs12()
2182 KVM_BUG_ON(1, vmx->vcpu.kvm); in copy_vmcs12_to_enlightened()
/linux/arch/x86/kvm/mmu/
H A Dpage_track.c98 if (KVM_BUG_ON(!kvm_page_track_write_tracking_enabled(kvm), kvm)) in __kvm_write_track_add_gfn()
121 if (KVM_BUG_ON(!kvm_page_track_write_tracking_enabled(kvm), kvm)) in __kvm_write_track_remove_gfn()
H A Dpaging_tmpl.h376 if (KVM_BUG_ON(is_long_mode(vcpu) && !is_pae(vcpu), vcpu->kvm)) in FNAME()
H A Dmmu.c2322 if (KVM_BUG_ON(!vcpu, kvm)) in kvm_mmu_find_shadow_page()
4705 if (KVM_BUG_ON(kvm_is_gfn_alias(kvm, fault->gfn), kvm)) in kvm_mmu_faultin_pfn()
5220 if (KVM_BUG_ON(!tdp_mmu_enabled, kvm)) in kvm_tdp_mmu_map_private_pfn()
6219 KVM_BUG_ON(!kvm_can_set_cpuid_and_feature_msrs(vcpu), vcpu->kvm); in kvm_mmu_after_set_cpuid()
6615 if (KVM_BUG_ON(r == RET_PF_INVALID, vcpu->kvm)) in kvm_mmu_page_fault()
/linux/arch/x86/kvm/
H A Dpmu.c970 if (KVM_BUG_ON(!kvm_can_set_cpuid_and_feature_msrs(vcpu), vcpu->kvm)) in kvm_pmu_refresh()
1349 KVM_BUG_ON(!lapic_in_kernel(vcpu), vcpu->kvm)) in kvm_mediated_pmu_load()
1410 KVM_BUG_ON(!lapic_in_kernel(vcpu), vcpu->kvm)) in kvm_mediated_pmu_put()
H A Dx86.h858 KVM_BUG_ON(len > 8, vcpu->kvm); in __kvm_prepare_emulated_mmio_exit()
H A Dx86.c6609 if (KVM_BUG_ON(vcpu->arch.pio.count != 1, vcpu->kvm)) in complete_fast_pio_in()
8780 if (KVM_BUG_ON(!vcpu->arch.pio.count, vcpu->kvm)) in complete_emulated_pio()
8810 if (KVM_BUG_ON(!vcpu->mmio_needed, vcpu->kvm)) in complete_emulated_mmio()
10711 if (KVM_BUG_ON(!e, vcpu->kvm)) in kvm_handle_memory_failure()
10816 if (KVM_BUG_ON(!vcpu->mmio_needed, vcpu->kvm)) in complete_sev_es_emulated_mmio()
/linux/virt/kvm/
H A Dpfncache.c408 if (KVM_BUG_ON(gpc->valid, kvm)) in __kvm_gpc_activate()
H A Dkvm_main.c789 KVM_BUG_ON(kvm->mmu_invalidate_in_progress < 0, kvm); in kvm_mmu_invalidate_end()
2618 KVM_BUG_ON(r, kvm); in kvm_vm_set_mem_attributes()
/linux/arch/s390/kvm/s390/
H A Dgaccess.c895 if (KVM_BUG_ON((len + context.offset) > PAGE_SIZE, kvm)) in access_guest_page_with_key_gpa()
1573 if (KVM_BUG_ON(l > TABLE_TYPE_REGION3, sg->kvm)) in _gaccess_do_shadow()
1684 if (KVM_BUG_ON(!test_bit(GMAP_FLAG_SHADOW, &sg->flags), vcpu->kvm)) in gaccess_shadow_fault()
H A Ds390.c3351 KVM_BUG_ON(kvm_set_internal_memslot(kvm, &fake_memslot), kvm); in kvm_arch_init_vm()
4631 KVM_BUG_ON(rc, vcpu->kvm); in vcpu_dat_fault_handler()
5635 KVM_BUG_ON(r, vcpu->kvm); in kvm_arch_vcpu_ioctl()
/linux/include/linux/
H A Dkvm_host.h929 #define KVM_BUG_ON(cond, kvm) \ macro
2601 KVM_BUG_ON(1, kvm); in kvm_gmem_get_pfn()
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c43 KVM_BUG_ON(__sz != sizeof(*(valp)), __k)) \
61 KVM_BUG_ON(__sz != sizeof(__v), __k)) \
/linux/arch/x86/kvm/svm/
H A Dsvm.c871 KVM_BUG_ON(is_sev_es_guest(vcpu), vcpu->kvm); in __svm_disable_lbrv()
1544 KVM_BUG_ON(1, vcpu->kvm); in svm_cache_reg()
2795 KVM_BUG_ON(1, svm->vcpu.kvm); in svm_vmcb_lbr()
H A Dsev.c362 if (KVM_BUG_ON(rmp_make_shared(pfn, level), kvm)) { in kvm_rmp_make_shared()
4716 KVM_BUG_ON(1, vcpu->kvm); in sev_handle_vmgexit()
/linux/arch/arm64/kvm/
H A Dsys_regs.c939 KVM_BUG_ON(1, vcpu->kvm); in demux_wb_reg()
2553 if (KVM_BUG_ON(kvm_vm_has_ran_once(kvm) || !p, kvm)) in kvm_set_vm_id_reg()
3228 KVM_BUG_ON(1, vcpu->kvm); in reset_imp_id_reg()
H A Dmmu.c2246 if (KVM_BUG_ON(ipa == INVALID_GPA, vcpu->kvm)) in kvm_handle_guest_abort()
H A Demulate-nested.c583 KVM_BUG_ON(1, vcpu->kvm); in check_mdcr_hpmn()