Home
last modified time | relevance | path

Searched refs:max_vm_pa_size (Results 1 – 2 of 2) sorted by relevance

/qemu/target/arm/
H A Dkvm.c106 int max_vm_pa_size; in kvm_arm_create_scratch_host_vcpu() local
112 max_vm_pa_size = ioctl(kvmfd, KVM_CHECK_EXTENSION, KVM_CAP_ARM_VM_IPA_SIZE); in kvm_arm_create_scratch_host_vcpu()
113 if (max_vm_pa_size < 0) { in kvm_arm_create_scratch_host_vcpu()
114 max_vm_pa_size = 0; in kvm_arm_create_scratch_host_vcpu()
117 vmfd = ioctl(kvmfd, KVM_CREATE_VM, max_vm_pa_size); in kvm_arm_create_scratch_host_vcpu()
/qemu/hw/arm/
H A Dvirt.c2947 int max_vm_pa_size, requested_pa_size; in virt_kvm_type() local
2950 max_vm_pa_size = kvm_arm_get_max_vm_ipa_size(ms, &fixed_ipa); in virt_kvm_type()
2953 virt_set_memmap(vms, max_vm_pa_size); in virt_kvm_type()
2964 if (requested_pa_size > max_vm_pa_size) { in virt_kvm_type()
2968 requested_pa_size, max_vm_pa_size); in virt_kvm_type()