All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kvm: add support for KVM_CAP_VM_GPA_BITS
@ 2024-03-01 10:14 Gerd Hoffmann
  2024-03-01 10:14 ` [PATCH 1/3] kvm: wire up KVM_CAP_VM_GPA_BITS for x86 Gerd Hoffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2024-03-01 10:14 UTC (permalink / raw)
  To: kvm; +Cc: Gerd Hoffmann

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-03-05  2:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 10:14 [PATCH 0/3] kvm: add support for KVM_CAP_VM_GPA_BITS Gerd Hoffmann
2024-03-01 10:14 ` [PATCH 1/3] kvm: wire up KVM_CAP_VM_GPA_BITS for x86 Gerd Hoffmann
2024-03-01 16:13   ` Tao Su
2024-03-04  8:43     ` Gerd Hoffmann
2024-03-04  8:59       ` Tao Su
2024-03-04 11:47         ` Gerd Hoffmann
2024-03-04 15:15   ` Sean Christopherson
2024-03-05  2:59     ` Xiaoyao Li
2024-03-01 10:14 ` [PATCH 2/3] kvm/vmx: limit guest_phys_bits to 48 without 5-level ept Gerd Hoffmann
2024-03-01 10:14 ` [PATCH 3/3] kvm/svm: limit guest_phys_bits to 48 in 4-level paging mode Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.