From: Anup Patel Subject: [PATCH v4 0/4] kvmtool: ARM/ARM64: Misc updates Date: Fri, 19 Sep 2014 05:27:52 +0530 Message-ID: <1411084676-8275-1-git-send-email-anup.patel@linaro.org> Cc: kvm@vger.kernel.org, patches@apm.com, will.deacon@arm.com, marc.zyngier@arm.com, penberg@kernel.org, christoffer.dall@linaro.org, pranavkumar@linaro.org, andre.przywara@arm.com, Anup Patel To: kvmarm@lists.cs.columbia.edu Return-path: Received: from mail-pa0-f43.google.com ([209.85.220.43]:33841 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbaIRX6O (ORCPT ); Thu, 18 Sep 2014 19:58:14 -0400 Received: by mail-pa0-f43.google.com with SMTP id fa1so2597687pad.30 for ; Thu, 18 Sep 2014 16:58:14 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: This patchset updates KVMTOOL to use some of the features supported by Linux-3.16 KVM ARM/ARM64, such as: 1. Target CPU == Host using KVM_ARM_PREFERRED_TARGET vm ioctl 2. Target CPU type Potenza for using KVMTOOL on X-Gene 3. PSCI v0.2 support for Aarch32 and Aarch64 guest 4. System event exit reason Changes since v3: - Add generic targets for aarch32 and aarch64 which are used by KVMTOOL when target type returned by KVM_ARM_PREFERRED_TARGET vm ioctl is not known to KVMTOOL - Print more info when handling system reset event Changes since v2: - Use target type returned by KVM_ARM_PREFERRED_TARGET vm ioctl for VCPU init such that we don't need to update KVMTOOL for every new host hardware - Simplify DTB generation for PSCI node Changes since v1: - Drop the patch to fix compile error for aarch64 - Fallback to old method of trying all target types if KVM_ARM_PREFERRED_TARGET vm ioctl fails - Print more info when handling KVM_EXIT_SYSTEM_EVENT Anup Patel (4): kvmtool: ARM: Use KVM_ARM_PREFERRED_TARGET vm ioctl to determine target cpu kvmtool: ARM64: Add target type potenza for aarch64 kvmtool: Handle exit reason KVM_EXIT_SYSTEM_EVENT kvmtool: ARM/ARM64: Provide PSCI-0.2 to guest when KVM supports it tools/kvm/arm/aarch32/arm-cpu.c | 9 ++++++- tools/kvm/arm/aarch64/arm-cpu.c | 19 ++++++++++--- tools/kvm/arm/fdt.c | 52 +++++++++++++++++++++++++++++++---- tools/kvm/arm/kvm-cpu.c | 57 +++++++++++++++++++++++++++++++-------- tools/kvm/kvm-cpu.c | 21 +++++++++++++++ 5 files changed, 138 insertions(+), 20 deletions(-) -- 1.7.9.5