[PATCH 0/2] Target CPU=Host implementation for KVM ARM/ARM64

Anup Patel anup.patel at linaro.org
Wed Sep 11 08:59:51 EDT 2013


It will be very useful for user space if it has a method of querying
VCPU target type suitable to underlying Host. We can use such querying
mechanism and implement machine models in user space where VCPU target
type is always same-as/suitable-to underlying Host (i.e. Target CPU=Host).

This patch series implements KVM_ARM_SUITABLE_TARGET ioclt for querying
VCPU target type matching underlying host. Using this new ioctl we can
implement VCPU target CPU=Host in user space (i.e. QEMU/KVMTOOL).

Also, it is not mandatory to call KVM_ARM_SUITABLE_TARGET ioctl and the 
old method of using only KVM_ARM_VCPU_INIT ioctl works fine.

Anup Patel (2):
  ARM/ARM64: KVM: Implement KVM_ARM_SUITABLE_TARGET ioctl
  KVM: Add documentation for KVM_ARM_SUITABLE_TARGET ioctl

 Documentation/virtual/kvm/api.txt |   25 ++++++++++++++++++++-----
 arch/arm/kvm/arm.c                |    2 ++
 include/uapi/linux/kvm.h          |    1 +
 3 files changed, 23 insertions(+), 5 deletions(-)

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list