linux-mips
[Top] [All Lists]

[PATCH 0/2] kvm/mips: ABI fix for 3.10

To: linux-mips@linux-mips.org, ralf@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal <sanjayl@kymasys.com>, Gleb Natapov <gleb@redhat.com>
Subject: [PATCH 0/2] kvm/mips: ABI fix for 3.10
From: David Daney <ddaney.cavm@gmail.com>
Date: Mon, 10 Jun 2013 12:33:46 -0700
Cc: linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=24DaF1ufkE/kq+O4+ckyn2P7UymXx5iWB8wTVQM52E8=; b=tZpRAY3SEaUpc8Lkc+uBzkqgvuNrfTSCyJ7PJUlqzpzisfbPxLHQD4H8xcPqbvxW69 ds04F5uel96MfpcItgpu4uqQdQvfIXOqYvtUFbTxv84tDIL1mOpNnNXUiSwYoRW4Z44g YAqHFhWJ+gWbRzpaTkndOwY/os/EXM10I0B3O3wM07RaS9DRXYdZ8ejzFBKt1tH/xQci miekDeV3ui40qlzZTAYlLwh+ph/O+hlMMAdTC6g70ejvQvyZk3pS++bnhojSQJeZG/F5 do3iYNP7GlH2SsBdwUQXJYz73sOMgqQP8aZH19JjV3zAPrwcf7Kw8u8OVgOLNWV6227j TCJQ==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

As requested by Gleb Natapov, we need to define and use KVM_REG_MIPS
when using the GET_ONE_REG/SET_ONE_REG ioctl.  Since this is part of
the MIPS kvm support that is new in 3.10, it should be merged before a
bad ABI leaks out into an 'official' kernel release.

David Daney (2):
  kvm: Add definition of KVM_REG_MIPS
  mips/kvm: Use KVM_REG_MIPS and proper size indicators for *_ONE_REG

 arch/mips/include/uapi/asm/kvm.h | 81 +++++++++++++++++++--------------------
 arch/mips/kvm/kvm_mips.c         | 83 ++++++++++++++++++++++++++--------------
 include/uapi/linux/kvm.h         |  1 +
 3 files changed, 94 insertions(+), 71 deletions(-)

-- 
1.7.11.7


<Prev in Thread] Current Thread [Next in Thread>