Searched refs:kvm_vm_check_extension (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/target/ppc/ |
H A D | kvm.c | 113 return kvm_vm_check_extension(ks, KVM_CAP_PPC_GET_PVINFO) != 0; in kvmppc_is_pr() 130 cap_ppc_smt_possible = kvm_vm_check_extension(s, KVM_CAP_PPC_SMT_POSSIBLE); in kvm_arch_init() 134 cap_spapr_vfio = kvm_vm_check_extension(s, KVM_CAP_SPAPR_TCE_VFIO); in kvm_arch_init() 143 cap_htab_fd = kvm_vm_check_extension(s, KVM_CAP_PPC_HTAB_FD); in kvm_arch_init() 145 cap_ppc_smt = kvm_vm_check_extension(s, KVM_CAP_PPC_SMT); in kvm_arch_init() 146 cap_htm = kvm_vm_check_extension(s, KVM_CAP_PPC_HTM); in kvm_arch_init() 147 cap_mmu_radix = kvm_vm_check_extension(s, KVM_CAP_PPC_MMU_RADIX); in kvm_arch_init() 148 cap_mmu_hash_v3 = kvm_vm_check_extension(s, KVM_CAP_PPC_MMU_HASH_V3); in kvm_arch_init() 149 cap_xive = kvm_vm_check_extension(s, KVM_CAP_PPC_IRQ_XIVE); in kvm_arch_init() 150 cap_resize_hpt = kvm_vm_check_extension(s, KVM_CAP_SPAPR_RESIZE_HPT); in kvm_arch_init() [all …]
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 1249 int kvm_vm_check_extension(KVMState *s, unsigned int extension) in kvm_vm_check_extension() function 1625 ret = kvm_vm_check_extension(s, capability); in kvm_dirty_ring_init() 1628 ret = kvm_vm_check_extension(s, capability); in kvm_dirty_ring_init() 1651 ret = kvm_vm_check_extension(s, KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP); in kvm_dirty_ring_init() 2407 int ret = kvm_vm_check_extension(s, KVM_CAP_NR_VCPUS); in kvm_recommended_vcpus() 2628 s->nr_as = kvm_vm_check_extension(s, KVM_CAP_MULTI_ADDRESS_SPACE); in kvm_init() 2686 (kvm_vm_check_extension(s, KVM_CAP_READONLY_MEM) > 0); in kvm_init() 2720 kvm_supported_memory_attributes = kvm_vm_check_extension(s, KVM_CAP_MEMORY_ATTRIBUTES); in kvm_init() 2746 s->sync_mmu = !!kvm_vm_check_extension(kvm_state, KVM_CAP_SYNC_MMU); in kvm_init()
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm.h | 440 int kvm_vm_check_extension(KVMState *s, unsigned int extension);
|
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 604 sizes = kvm_vm_check_extension(s, KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES); in kvm_arch_init()
|
/openbmc/qemu/target/i386/kvm/ |
H A D | kvm.c | 247 return kvm_vm_check_extension(kvm_state, KVM_CAP_X86_SMM); in kvm_has_smm() 3323 if (kvm_vm_check_extension(s, KVM_CAP_X86_USER_SPACE_MSR)) { in kvm_arch_init() 5939 if (!kvm_vm_check_extension(s, KVM_CAP_SGX_ATTRIBUTE)) { in __kvm_enable_sgx_provisioning()
|