Received: from eggs.gnu.org ([2001:4830:134:3::10]:40521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVPEX-0007UF-Vn for qemu-devel@nongnu.org; Mon, 15 Feb 2016 14:54:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVPET-0002JY-5G for qemu-devel@nongnu.org; Mon, 15 Feb 2016 14:54:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVPES-0002JU-Uf for qemu-devel@nongnu.org; Mon, 15 Feb 2016 14:54:53 -0500 From: Markus Armbruster References: <1455389632-6840-1-git-send-email-mst@redhat.com> Date: Mon, 15 Feb 2016 20:54:50 +0100 In-Reply-To: <1455389632-6840-1-git-send-email-mst@redhat.com> (Michael S. Tsirkin's message of "Sat, 13 Feb 2016 20:54:25 +0200") Message-ID: <87a8n1ycj9.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] msix: fix msix_vector_masked List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Stefano Stabellini "Michael S. Tsirkin" writes: > commit 428c3ece97179557f2753071fb0ca97a03437267 ("fix MSI injection on Xen") > inadvertently enabled the xen-specific logic unconditionally. > Limit it to only when xen is enabled. > Additionally, msix data should be read with pci_get_log > since the format is pci little-endian. > > Reported-by: "Daniel P. Berrange" > Cc: Stefano Stabellini > Signed-off-by: Michael S. Tsirkin Fixes ivshmem-test /x86_64/ivshmem/server-msi. Not run by "make check" unless you add SPEED=slow. Quick reproducer: $ make tests/ivshmem-test && QTEST_QEMU_BINARY='x86_64-softmmu/qemu-system-x86_64' QTEST_QEMU_IMG=qemu-img MALLOC_PERTURB_=${MALLOC_PERTURB_:-$((RANDOM % 255 + 1))} gtester -k --verbose -m slow tests/ivshmem-test Adding this to the commit message wouldn't hurt. Thanks!