This allows userspace (qemu) query the address space size available to the guest. Typically this is identical to the host physical address space. There are a few exceptions though, and this allows to handle them properly. Gerd Hoffmann (3): kvm: wire up KVM_CAP_VM_GPA_BITS for x86 kvm/vmx: limit guest_phys_bits to 48 without 5-level ept kvm/svm: limit guest_phys_bits to 48 in 4-level paging mode arch/x86/kvm/x86.h | 2 ++ arch/x86/kvm/svm/svm.c | 5 +++++ arch/x86/kvm/vmx/vmx.c | 5 +++++ arch/x86/kvm/x86.c | 5 +++++ 4 files changed, 17 insertions(+) -- 2.44.0