Re: [PATCH v8 09/43] KVM: arm64: Allow passing machine type in KVM creation

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

 



On 4/16/25 11:41 PM, Steven Price wrote:
Previously machine type was used purely for specifying the physical
address size of the guest. Reserve the higher bits to specify an ARM
specific machine type and declare a new type 'KVM_VM_TYPE_ARM_REALM'
used to create a realm guest.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
Signed-off-by: Steven Price <steven.price@xxxxxxx>
---
Changes since v7:
  * Add some documentation explaining the new machine type.
Changes since v6:
  * Make the check for kvm_rme_is_available more visible and report an
    error code of -EPERM (instead of -EINVAL) to make it explicit that
    the kernel supports RME, but the platform doesn't.
---
  Documentation/virt/kvm/api.rst | 16 ++++++++++++++--
  arch/arm64/kvm/arm.c           | 15 +++++++++++++++
  arch/arm64/kvm/mmu.c           |  3 ---
  include/uapi/linux/kvm.h       | 19 +++++++++++++++----
  4 files changed, 44 insertions(+), 9 deletions(-)


Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>





[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