From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btkLX-0007Rb-Vg for qemu-devel@nongnu.org; Mon, 10 Oct 2016 19:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btkLS-0000gi-2B for qemu-devel@nongnu.org; Mon, 10 Oct 2016 19:51:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btkLR-0000gA-Ro for qemu-devel@nongnu.org; Mon, 10 Oct 2016 19:50:57 -0400 Date: Tue, 11 Oct 2016 07:50:50 +0800 From: Peter Xu Message-ID: <20161010235050.GD30787@pxdev.xzpeter.org> References: <20161005130657.3399-1-rkrcmar@redhat.com> <20161005130657.3399-3-rkrcmar@redhat.com> <20161008063759.GF3666@pxdev.xzpeter.org> <20161010133525.GA30525@potion> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161010133525.GA30525@potion> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 2/8] apic: add send_msi() to APICCommonClass List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: qemu-devel@nongnu.org, Igor Mammedov , Paolo Bonzini , Richard Henderson , Eduardo Habkost , "Michael S. Tsirkin" On Mon, Oct 10, 2016 at 03:35:26PM +0200, Radim Kr=C4=8Dm=C3=A1=C5=99 wro= te: [...] > Yes, but it is a separate logical change, so I'd do that in a separate > cleaup patch that amends it in the whole file ... > (And I prefer to copy-paste code verbatim.) Sure. >=20 > > And, this patch is assuming MSIMessage as host endianess (which is > > good to me). Not sure whether we need fixes for the whole MSIMessage > > cleanup (after all, kvm_irqchip_send_msi() is taking it as LE). Or we > > can do it afterwards since it won't break anything AFAIU. >=20 > This patch doesn't affect existing callers, and IR known to be broken, > so I think we can sort endianess out later ... Agree. Patch: [PATCH] Revert "KVM: MSI: Swap payload to native endianness" is for the cleanup actually. Though I am not sure whether that's enough and correct. Looking forward to any review comments. Thanks, -- peterx