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.c23 uint32_t eax, guest_phys_bits; in kvm_set_guest_phys_bits() local
26 guest_phys_bits = (eax >> 16) & 0xff; in kvm_set_guest_phys_bits()
27 if (!guest_phys_bits) { in kvm_set_guest_phys_bits()
30 cpu->guest_phys_bits = guest_phys_bits; in kvm_set_guest_phys_bits()
31 if (cpu->guest_phys_bits > cpu->phys_bits) { in kvm_set_guest_phys_bits()
32 cpu->guest_phys_bits = cpu->phys_bits; in kvm_set_guest_phys_bits()
36 cpu->guest_phys_bits > cpu->host_phys_bits_limit) { in kvm_set_guest_phys_bits()
37 cpu->guest_phys_bits = cpu->host_phys_bits_limit; in kvm_set_guest_phys_bits()
89 cpu->guest_phys_bits == -1) { in kvm_cpu_realizefn()
/openbmc/qemu/target/i386/
H A Dcpu.c6940 *eax |= (cpu->guest_phys_bits << 16); in cpu_x86_cpuid()
7703 if (cpu->guest_phys_bits == -1) { in x86_cpu_realizefn()
7708 cpu->guest_phys_bits = 0; in x86_cpu_realizefn()
7761 if (cpu->guest_phys_bits && in x86_cpu_realizefn()
7762 (cpu->guest_phys_bits > cpu->phys_bits || in x86_cpu_realizefn()
7763 cpu->guest_phys_bits < 32)) { in x86_cpu_realizefn()
7766 cpu->phys_bits, cpu->guest_phys_bits); in x86_cpu_realizefn()
7777 if (cpu->guest_phys_bits != 0) { in x86_cpu_realizefn()
8315 DEFINE_PROP_UINT32("guest-phys-bits", X86CPU, guest_phys_bits, -1),
H A Dcpu.h2151 uint32_t guest_phys_bits; member