Home
last modified time | relevance | path

Searched refs:guest_phys_bits (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/i386/kvm/
H A Dkvm-cpu.c24 uint32_t eax, guest_phys_bits; in kvm_set_guest_phys_bits() local
27 guest_phys_bits = (eax >> 16) & 0xff; in kvm_set_guest_phys_bits()
28 if (!guest_phys_bits) { in kvm_set_guest_phys_bits()
31 cpu->guest_phys_bits = guest_phys_bits; in kvm_set_guest_phys_bits()
32 if (cpu->guest_phys_bits > cpu->phys_bits) { in kvm_set_guest_phys_bits()
33 cpu->guest_phys_bits = cpu->phys_bits; in kvm_set_guest_phys_bits()
37 cpu->guest_phys_bits > cpu->host_phys_bits_limit) { in kvm_set_guest_phys_bits()
38 cpu->guest_phys_bits = cpu->host_phys_bits_limit; in kvm_set_guest_phys_bits()
91 cpu->guest_phys_bits == -1) { in kvm_cpu_realizefn()
/openbmc/qemu/target/i386/
H A Dcpu.c8433 *eax |= (cpu->guest_phys_bits << 16); in cpu_x86_cpuid()
9358 if (cpu->guest_phys_bits == -1) { in x86_cpu_realizefn()
9363 cpu->guest_phys_bits = 0; in x86_cpu_realizefn()
9431 if (cpu->guest_phys_bits && in x86_cpu_realizefn()
9432 (cpu->guest_phys_bits > cpu->phys_bits || in x86_cpu_realizefn()
9433 cpu->guest_phys_bits < 32)) { in x86_cpu_realizefn()
9436 cpu->phys_bits, cpu->guest_phys_bits); in x86_cpu_realizefn()
9447 if (cpu->guest_phys_bits != 0) { in x86_cpu_realizefn()
9976 DEFINE_PROP_UINT32("guest-phys-bits", X86CPU, guest_phys_bits, -1),
H A Dcpu.h2338 uint32_t guest_phys_bits; member