Received: from eggs.gnu.org ([2001:4830:134:3::10]:36410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs31V-0000GG-RP for qemu-devel@nongnu.org; Thu, 06 Oct 2016 03:23:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bs31R-0002UL-Kx for qemu-devel@nongnu.org; Thu, 06 Oct 2016 03:23:20 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:35600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs31R-0002Tv-Ek for qemu-devel@nongnu.org; Thu, 06 Oct 2016 03:23:17 -0400 Received: by mail-wm0-x232.google.com with SMTP id f193so272105104wmg.0 for ; Thu, 06 Oct 2016 00:23:17 -0700 (PDT) Sender: Paolo Bonzini References: <1475583448-21013-1-git-send-email-clg@kaod.org> <20161004234352.GE18648@umbus.fritz.box> <65e1a873-c9a2-b93e-4680-d1fa5f86316d@kaod.org> <20161006034543.GE18733@umbus.fritz.box> From: Paolo Bonzini Message-ID: <2a42ae88-0bb1-7967-8d92-0cb60f3779a1@redhat.com> Date: Thu, 6 Oct 2016 09:23:11 +0200 MIME-Version: 1.0 In-Reply-To: <20161006034543.GE18733@umbus.fritz.box> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qtest: add read/write accessors with a specific endianness List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , Peter Maydell Cc: Laurent Vivier , Greg Kurz , =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , QEMU Developers On 06/10/2016 05:45, David Gibson wrote: > qtest is about testing hardware, not the guest cpu, and whether you're > accessing MMIO space or buffers the hardware will read via DMA, it's > the hardware which determines the correct endianness, not the guest > cpu. Well, sort of... qtest writes are definitely injecting things from the point of view of the guest CPU. For example see Laurent's patches that add RTAS commands to qtest. Paolo