On 02/10/13 17:04, Christoffer Dall wrote:
On Mon, Sep 30, 2013 at 02:20:04PM +0530, Anup Patel wrote:
It will be very useful for user space (QEMU/KVMTOOL) if it has a method of querying VCPU target type matching to underlying Host. We can use such querying mechanism and implement machine models in user space where VCPU target type is always same-as/similar-to underlying Host (i.e. Target CPU=Host).
This patch series implements KVM_ARM_PREFERRED_TARGET vm ioclt for querying VCPU target type matching underlying host. Using this new ioctl we can implement VCPU target CPU=Host in user space.
Also, it is not mandatory to call KVM_ARM_PREFERRED_TARGET vm ioctl and the old method of trying all possible target types using the KVM_ARM_VCPU_INIT ioctl to initialize VCPU works fine.
Looks good to me, as soon as Marc acks this one, I'll merge it.
Yup, go for it:
Acked-by: Marc Zyngier marc.zyngier@arm.com
M.