/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | mem_access.h | 49 return is_hvm_domain(d) && cpu_has_vmx && hap_enabled(d); in p2m_mem_access_sanity_check()
|
A D | mem_sharing.h | 55 (is_hvm_domain(_d) && paging_mode_hap(_d))
|
A D | monitor.h | 77 if ( !is_hvm_domain(d) || !cpu_has_vmx ) in arch_monitor_get_capabilities()
|
A D | domain.h | 19 #define is_hvm_pv_evtchn_domain(d) (is_hvm_domain(d) && \ 626 #define domain_max_vcpus(d) (is_hvm_domain(d) ? HVM_MAX_VCPUS : MAX_VIRT_CPUS)
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | physdev.c | 97 if ( domid == DOMID_SELF && is_hvm_domain(d) && has_pirq(d) ) in physdev_map_pirq() 153 if ( domid != DOMID_SELF || !is_hvm_domain(d) || !has_pirq(d) ) in physdev_unmap_pirq() 158 if ( is_hvm_domain(d) && has_pirq(d) ) in physdev_unmap_pirq() 208 if ( is_hvm_domain(currd) && in do_physdev_op() 283 if ( is_hvm_domain(currd) && in do_physdev_op()
|
A D | time.c | 1040 if ( is_hvm_domain(d) ) in __update_vcpu_system_time() 1058 if ( is_hvm_domain(d) && hvm_tsc_scaling_supported ) in __update_vcpu_system_time() 1083 if ( is_hvm_domain(d) ) in __update_vcpu_system_time() 1153 if ( is_hvm_domain(d) ) in update_domain_rtc() 1162 if ( is_hvm_domain(d) ) in domain_set_time_offset() 2008 if ( !is_hvm_domain(d) ) in gtime_to_gtsc() 2022 if ( !is_hvm_domain(d) ) in gtsc_to_gtime() 2073 bool enable_tsc_scaling = is_hvm_domain(d) && in tsc_get_info() 2156 (is_hvm_domain(d) && in tsc_set_info() 2169 enable_tsc_scaling = is_hvm_domain(d) && !d->arch.vtsc && in tsc_set_info() [all …]
|
A D | domain.c | 195 if ( is_hvm_domain(d) ) in dump_pageframe_info() 345 if ( is_hvm_domain(d) ) in vcpu_initialise() 400 if ( is_hvm_domain(d) ) in emulation_flags_ok() 487 if ( is_hvm_domain(d) ) in arch_domain_create() 528 if ( is_hvm_domain(d) ) in arch_domain_create() 581 if ( is_hvm_domain(d) ) in arch_domain_destroy() 632 if ( !is_hvm_domain(d) ) in arch_domain_soft_reset() 875 if ( is_hvm_domain(d) ) in arch_set_info_guest() 1714 is_hvm_domain(prevd) || in context_switch() 1961 if ( is_hvm_domain(d) ) in domain_relinquish_resources() [all …]
|
A D | domctl.c | 131 if ( is_hvm_domain(d) && (p->x86_vendor != old_vendor) ) in update_domain_cpuid_info() 560 !is_hvm_domain(d) ) in arch_do_domctl() 586 !is_hvm_domain(d) ) in arch_do_domctl() 626 !is_hvm_domain(d) ) in arch_do_domctl() 687 if ( is_hvm_domain(d) ) in arch_do_domctl() 696 if ( is_hvm_domain(d) ) in arch_do_domctl() 715 if ( !is_hvm_domain(d) ) in arch_do_domctl() 776 if ( !is_hvm_domain(d) ) in arch_do_domctl() 1019 !is_hvm_domain(d) ) in arch_do_domctl() 1605 if ( is_hvm_domain(d) ) in arch_get_info_guest()
|
A D | cpuid.c | 472 if ( is_hvm_domain(d) ) in recalculate_cpuid_policy() 698 if ( is_hvm_domain(d) ) in guest_cpuid() 712 if ( is_hvm_domain(d) ) in guest_cpuid() 910 is_hvm_domain(d) && !hvm_long_mode_active(v) ) in guest_cpuid() 914 if ( is_hvm_domain(d) ) in guest_cpuid()
|
A D | msr.c | 181 if ( v == curr && is_hvm_domain(d) && cpu_has_cpuid_faulting && in guest_wrmsr()
|
A D | irq.c | 1191 if ( !is_hvm_domain(d) || !hvm_do_IRQ_dpci(d, pirq) ) in __do_IRQ_guest() 1295 if ( is_hvm_domain(d) ) in init_domain_irq_mapping() 1321 if ( is_hvm_domain(d) ) in cleanup_domain_irq_mapping() 1327 size_t sz = is_hvm_domain(d) ? sizeof(struct pirq) : in alloc_pirq_struct() 1333 if ( is_hvm_domain(d) ) in alloc_pirq_struct() 1354 if ( is_hvm_domain(d) ) 1862 return !pirq || (!pirq->arch.irq && (!is_hvm_domain(d) || in is_free_pirq() 2452 if ( !is_hvm_domain(d) ) in map_domain_emuirq_pirq() 2510 if ( !is_hvm_domain(d) ) in unmap_domain_pirq_emuirq() 2549 if ( is_hvm_domain(d) ) in arch_evtchn_bind_pirq() [all …]
|
A D | dom0_build.c | 304 need_paging = is_hvm_domain(d) && in dom0_compute_nr_pages() 522 rc = (is_hvm_domain(d) ? dom0_construct_pvh : dom0_construct_pv) in construct_dom0()
|
A D | debug.c | 171 mfn = (is_hvm_domain(dp) in dbg_rw_guest_mem()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/ |
A D | iommu.c | 58 if ( is_hvm_domain(d) || in arch_iommu_populate_page_table()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_map.c | 565 ASSERT(spin_is_locked(&hd->arch.mapping_lock) && is_hvm_domain(d)); in update_paging_mode() 661 if ( is_hvm_domain(d) ) in amd_iommu_map_page() 692 if ( is_hvm_domain(d) ) in amd_iommu_map_page() 743 if ( is_hvm_domain(d) ) in amd_iommu_unmap_page()
|
A D | iommu_guest.c | 183 if ( !is_hvm_domain(d) ) in guest_iommu_add_ppr_log() 232 if ( !is_hvm_domain(d) ) in guest_iommu_add_event_log() 889 if ( !is_hvm_domain(d) || !iommu_enabled || !iommuv2_enabled || in guest_iommu_init()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | nestedhvm.c | 32 return is_hvm_domain(d) && d->arch.hvm_domain.params && in nestedhvm_enabled()
|
A D | mtrr.c | 543 ASSERT(is_hvm_domain(d)); in hvm_get_mem_pinned_cacheattr() 579 if ( !is_hvm_domain(d) ) in hvm_set_mem_pinned_cacheattr() 817 gmtrr_mtype = is_hvm_domain(d) && v ? in epte_get_entry_emt()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/ |
A D | vpt.h | 151 (is_hvm_domain(d) && (d)->arch.hvm_domain.i8259_target ? \
|
A D | hvm.h | 387 (is_hvm_domain(d) && (viridian_feature_mask(d) & HVMPV_base_freq)) 626 if ( is_hvm_domain(d_) && \
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/ |
A D | vmce.c | 419 if ( (is_hvm_domain(d) || in inject_vmce() 536 if ( !is_hvm_domain(d) || !paging_mode_hap(d) ) in unmmap_broken_page()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | event_channel.c | 493 if ( !is_hvm_domain(d) && !pirq_access_permitted(d, pirq) ) in evtchn_bind_pirq() 510 rc = (!is_hvm_domain(d) in evtchn_bind_pirq() 582 if ( !is_hvm_domain(d1) ) in evtchn_close() 588 if ( is_hvm_domain(d1) && domain_pirq_to_irq(d1, pirq->pirq) > 0 ) in evtchn_close() 798 BUG_ON(!is_hvm_domain(d)); in send_guest_pirq()
|
A D | vm_event.c | 637 if ( is_hvm_domain(hardware_domain) ) in vm_event_domctl() 736 if ( is_hvm_domain(hardware_domain) ) in vm_event_domctl()
|
/xen-4.10.0-shim-comet/xen/arch/x86/pv/ |
A D | domain.c | 65 if ( is_hvm_domain(d) || d->tot_pages != 0 ) in switch_compat()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | sched.h | 885 #define is_hvm_domain(d) ((d)->guest_type == guest_type_hvm) macro 886 #define is_hvm_vcpu(v) (is_hvm_domain(v->domain))
|