/xen/xen/arch/x86/ |
A D | msr.c | 277 if ( !is_hvm_domain(d) || v != curr ) in guest_rdmsr() 284 if ( !cp->feat.mpx || !is_hvm_domain(d) || in guest_rdmsr() 326 if ( v == current && is_hvm_domain(d) && v->arch.hvm.flag_dr_dirty ) in guest_rdmsr() 489 if ( v == curr && is_hvm_domain(d) && cpu_has_cpuid_faulting && in guest_wrmsr() 511 if ( !is_hvm_domain(d) || v != curr ) in guest_wrmsr() 518 if ( !cp->feat.mpx || !is_hvm_domain(d) || in guest_wrmsr()
|
A D | domctl.c | 497 !is_hvm_domain(d) ) in arch_do_domctl() 523 !is_hvm_domain(d) ) in arch_do_domctl() 563 !is_hvm_domain(d) ) in arch_do_domctl() 576 if ( is_hvm_domain(d) ) in arch_do_domctl() 593 if ( is_hvm_domain(d) ) in arch_do_domctl() 624 if ( is_hvm_domain(d) ) in arch_do_domctl() 652 if ( !is_hvm_domain(d) ) in arch_do_domctl() 683 if ( !is_hvm_domain(d) ) in arch_do_domctl() 717 if ( !is_hvm_domain(d) ) in arch_do_domctl() 937 !is_hvm_domain(d) ) in arch_do_domctl() [all …]
|
A D | physdev.c | 97 if ( domid == DOMID_SELF && is_hvm_domain(d) && has_pirq(d) ) in physdev_map_pirq() 150 if ( domid != DOMID_SELF || !is_hvm_domain(d) || !has_pirq(d) ) in physdev_unmap_pirq() 155 if ( is_hvm_domain(d) && has_pirq(d) ) in physdev_unmap_pirq() 205 if ( is_hvm_domain(currd) && in do_physdev_op() 280 if ( is_hvm_domain(currd) && in do_physdev_op()
|
A D | domain.c | 189 if ( is_hvm_domain(d) ) in init_hypercall_page() 235 if ( is_hvm_domain(d) ) in dump_pageframe_info() 399 if ( is_hvm_domain(d) ) in arch_vcpu_create() 497 if ( is_hvm_domain(d) ) in emulation_flags_ok() 622 if ( is_hvm_domain(d) ) in arch_domain_create() 673 if ( is_hvm_domain(d) ) in arch_domain_destroy() 725 if ( !is_hvm_domain(d) ) in arch_domain_soft_reset() 896 !is_hvm_domain(d) && !is_pv_32bit_domain(d) ) in arch_set_info_guest() 924 if ( is_hvm_domain(d) ) in arch_set_info_guest() 2142 if ( is_hvm_domain(d) ) in domain_relinquish_resources() [all …]
|
A D | dom0_build.c | 345 need_paging = is_hvm_domain(d) && in dom0_compute_nr_pages() 362 if ( is_hvm_domain(d) && !need_paging ) in dom0_compute_nr_pages() 491 if ( is_hvm_domain(d) ) in dom0_setup_permissions() 569 if ( is_hvm_domain(d) ) in construct_dom0()
|
A D | time.c | 1251 if ( is_hvm_domain(d) ) in __update_vcpu_system_time() 1269 if ( is_hvm_domain(d) && hvm_tsc_scaling_supported ) in __update_vcpu_system_time() 1294 if ( is_hvm_domain(d) ) in __update_vcpu_system_time() 1363 if ( is_hvm_domain(d) ) in update_domain_rtc() 1373 if ( is_hvm_domain(d) ) in domain_set_time_offset() 2291 if ( !is_hvm_domain(d) ) in gtime_to_gtsc() 2305 if ( !is_hvm_domain(d) ) in gtsc_to_gtime() 2341 bool enable_tsc_scaling = is_hvm_domain(d) && in tsc_get_info() 2409 (is_hvm_domain(d) && in tsc_set_info() 2427 if ( is_hvm_domain(d) ) in tsc_set_info() [all …]
|
A D | emul-i8254.c | 454 if ( is_hvm_domain(d) ) in pit_reset() 483 if ( is_hvm_domain(d) ) in pit_init() 499 if ( is_hvm_domain(d) ) in pit_deinit()
|
A D | cpuid.c | 584 if ( is_hvm_domain(d) ) in recalculate_cpuid_policy() 846 if ( is_hvm_domain(d) ) in guest_cpuid() 860 if ( is_hvm_domain(d) ) in guest_cpuid() 1060 is_hvm_domain(d) && !hvm_long_mode_active(v) ) in guest_cpuid() 1064 if ( is_hvm_domain(d) ) in guest_cpuid()
|
A D | flushtlb.c | 271 bool asid = is_hvm_domain(d) && (cpu_has_svm || shadow); in guest_flush_tlb_flags()
|
A D | debug.c | 125 mfn = (is_hvm_domain(dp) in dbg_rw_guest_mem()
|
A D | irq.c | 1266 if ( is_hvm_domain(d) ) in init_domain_irq_mapping() 1292 if ( is_hvm_domain(d) ) in cleanup_domain_irq_mapping() 1298 size_t sz = is_hvm_domain(d) ? sizeof(struct pirq) : in alloc_pirq_struct() 1304 if ( is_hvm_domain(d) ) in alloc_pirq_struct() 1325 if ( is_hvm_domain(d) ) 1886 if ( !is_hvm_domain(d) || !hvm_do_IRQ_dpci(d, pirq) ) in do_IRQ_guest() 2040 return !pirq || (!pirq->arch.irq && (!is_hvm_domain(d) || in is_free_pirq() 2696 if ( !is_hvm_domain(d) ) in map_domain_emuirq_pirq() 2754 if ( !is_hvm_domain(d) ) in unmap_domain_pirq_emuirq() 2793 if ( is_hvm_domain(d) ) in arch_evtchn_bind_pirq()
|
/xen/xen/include/asm-x86/ |
A D | monitor.h | 81 if ( !is_hvm_domain(d) ) in arch_monitor_get_capabilities()
|
A D | domain.h | 17 #define is_hvm_pv_evtchn_domain(d) (is_hvm_domain(d) && \ 739 (is_hvm_domain(d) ? HVM_VM_ASSIST_MASK \
|
/xen/xen/include/asm-x86/hvm/ |
A D | nestedhvm.h | 39 return is_hvm_domain(d) && d->arch.hvm.params && in nestedhvm_enabled()
|
A D | vpt.h | 155 (is_hvm_domain(d) && (d)->arch.hvm.i8259_target ? \
|
A D | hvm.h | 463 (is_hvm_domain(d) && (viridian_feature_mask(d) & HVMPV_base_freq)) 666 if ( is_hvm_domain(d_) && d_->arch.hvm.pi_ops.vcpu_block ) \
|
/xen/xen/drivers/passthrough/x86/ |
A D | iommu.c | 183 else if ( is_hvm_domain(d) || !iommu_hwdom_inclusive || pfn > max_pfn ) in hwdom_iommu_map()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | vmce.c | 414 if ( (is_hvm_domain(d) || in inject_vmce() 531 if ( !is_hvm_domain(d) || !paging_mode_hap(d) ) in unmmap_broken_page()
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_guest.c | 145 if ( !is_hvm_domain(d) ) in guest_iommu_add_ppr_log() 195 if ( !is_hvm_domain(d) ) in guest_iommu_add_event_log() 812 if ( !is_hvm_domain(d) || !is_iommu_enabled(d) || !iommuv2_enabled || in guest_iommu_init()
|
/xen/xen/arch/x86/hvm/ |
A D | mtrr.c | 565 ASSERT(is_hvm_domain(d)); in hvm_get_mem_pinned_cacheattr() 601 if ( !is_hvm_domain(d) ) in hvm_set_mem_pinned_cacheattr() 861 gmtrr_mtype = is_hvm_domain(d) && v ? in epte_get_entry_emt()
|
/xen/xen/common/ |
A D | event_channel.c | 551 if ( !is_hvm_domain(d) && !pirq_access_permitted(d, pirq) ) in evtchn_bind_pirq() 568 rc = (!is_hvm_domain(d) in evtchn_bind_pirq() 641 if ( !is_hvm_domain(d1) ) in evtchn_close() 647 if ( is_hvm_domain(d1) && domain_pirq_to_irq(d1, pirq->pirq) > 0 ) in evtchn_close() 867 BUG_ON(!is_hvm_domain(d)); in send_guest_pirq()
|
A D | vm_event.c | 624 if ( is_hvm_domain(hardware_domain) ) in vm_event_domctl() 717 if ( is_hvm_domain(hardware_domain) ) in vm_event_domctl()
|
/xen/xen/arch/x86/mm/shadow/ |
A D | common.c | 720 if ( is_hvm_domain(d) ) in shadow_promote() 1285 is_hvm_domain(d) ? CONFIG_PAGING_LEVELS + 2 : 0U) + in sh_min_allocation() 1286 is_hvm_domain(d), in sh_min_allocation() 2099 (is_hvm_domain(d) && is_ioreq_server_page(d, page))))) ) in sh_remove_all_mappings() 2105 (is_hvm_domain(d) && is_ioreq_server_page(d, page))); in sh_remove_all_mappings() 2477 is_hvm_domain(d) ? hvm_paging_enabled(v) : 1, in sh_update_paging_modes() 2534 ASSERT(is_hvm_domain(d)); in sh_update_paging_modes() 2636 if ( is_hvm_domain(d) ) in shadow_enable() 2679 if ( is_hvm_domain(d) ) in shadow_enable() 2780 ASSERT(is_hvm_domain(d)); in shadow_teardown()
|
A D | hvm.c | 463 if ( is_hvm_domain(d) ? hvm_get_cpl(v) == 3 in sh_emulate_map_dest() 493 else if ( !is_hvm_domain(d) ) in sh_emulate_map_dest()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | vmcb.c | 239 if ( !is_hvm_domain(d) ) in vmcb_dump()
|