Skip to content

kvm: add support for KVM_CAP_VM_GPA_BITS

Gerd Hoffmann kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kvm: wire up KVM_CAP_VM_GPA_BITS for x86arch/x86/kvm/x86.c arch/x86/kvm/x86.h+7 -06 replies
2/3kvm/vmx: limit guest_phys_bits to 48 without 5-level eptarch/x86/kvm/vmx/vmx.c+5 -00 replies
3/3kvm/svm: limit guest_phys_bits to 48 in 4-level paging modearch/x86/kvm/svm/svm.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] kvm: add support for KVM_CAP_VM_GPA_BITS

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(+)
Signature · 1 line
2.44.0