"Michael S. Tsirkin" <m...@redhat.com> 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" <berra...@redhat.com> > Cc: Stefano Stabellini <stefano.stabell...@eu.citrix.com> > Signed-off-by: Michael S. Tsirkin <m...@redhat.com>
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!