Received: from eggs.gnu.org ([2001:4830:134:3::10]:47117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTCfI-0001PT-Nl for qemu-devel@nongnu.org; Mon, 07 Oct 2013 11:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTCfA-0005Ob-Gv for qemu-devel@nongnu.org; Mon, 07 Oct 2013 11:24:08 -0400 Received: from e06smtp18.uk.ibm.com ([195.75.94.114]:35072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTCfA-0005Dp-6a for qemu-devel@nongnu.org; Mon, 07 Oct 2013 11:24:00 -0400 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 7 Oct 2013 16:23:35 +0100 From: Greg Kurz Date: Mon, 07 Oct 2013 17:23:28 +0200 Message-ID: <20131007152327.26996.50016.stgit@bahia.local> In-Reply-To: <13E07292-4DC1-4C89-9A28-CCE40383A06F@suse.de> References: <13E07292-4DC1-4C89-9A28-CCE40383A06F@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/2] virtio: guest endianness support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, Rusty Russell , Paul Mackerras , qemu-devel@nongnu.org This patchset is a followup to Rusty's "virtio for endian curious guests" serie: https://lists.nongnu.org/archive/html/qemu-devel/2013-08/msg01502.html It brings guest endianness knowledge to the virtio drivers when running in KVM mode, on PowerPC. The first patch is only here to have KVM_REG_PPC_LPCR defined. It is not needed unless you wish to build and do not already have KVM_REG_PPC_LPCR in linux-headers/asm-powerpc/kvm.h. The interesting code is in the second patch. Cheers. --- Greg Kurz (2): linux-headers: POWER8 partial update virtio: refresh registers at reset time hw/virtio/virtio.c | 5 +++++ linux-headers/asm-powerpc/kvm.h | 3 +++ target-ppc/kvm.c | 4 ++++ 3 files changed, 12 insertions(+) -- Greg Kurz