From patchwork Fri Oct 30 15:47:02 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 56633 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9UFll4W005672 for ; Fri, 30 Oct 2009 15:47:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932482AbZJ3Pr1 (ORCPT ); Fri, 30 Oct 2009 11:47:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932467AbZJ3Pr1 (ORCPT ); Fri, 30 Oct 2009 11:47:27 -0400 Received: from cantor.suse.de ([195.135.220.2]:53025 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932429AbZJ3Pr0 (ORCPT ); Fri, 30 Oct 2009 11:47:26 -0400 Received: from relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id E734993A00; Fri, 30 Oct 2009 16:47:30 +0100 (CET) From: Alexander Graf To: kvm@vger.kernel.org Cc: Avi Kivity , kvm-ppc , Hollis Blanchard , Arnd Bergmann , Benjamin Herrenschmidt , Kevin Wolf , bphilips@suse.de, Marcelo Tosatti , Olof Johansson , linuxppc-dev@ozlabs.org Subject: [PATCH 02/27] Pass PVR in sregs Date: Fri, 30 Oct 2009 16:47:02 +0100 Message-Id: <1256917647-6200-3-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1256917647-6200-1-git-send-email-agraf@suse.de> References: <1256917647-6200-1-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/arch/powerpc/include/asm/kvm.h b/arch/powerpc/include/asm/kvm.h index bb2de6a..c9ca97f 100644 --- a/arch/powerpc/include/asm/kvm.h +++ b/arch/powerpc/include/asm/kvm.h @@ -46,6 +46,8 @@ struct kvm_regs { }; struct kvm_sregs { + __u32 pvr; + char pad[1020]; }; struct kvm_fpu {