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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux