From c5d29d2fecff299d4b65bfd5546d58915d8e25e0 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 5 Jul 2011 18:28:05 +0200 Subject: [PATCH] msi: use specific endian ld/st_phys Signed-off-by: Alexander Graf Signed-off-by: Blue Swirl --- hw/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/msi.c b/hw/msi.c index e8c56079aa..f214fcf579 100644 --- a/hw/msi.c +++ b/hw/msi.c @@ -249,7 +249,7 @@ void msi_notify(PCIDevice *dev, unsigned int vector) "notify vector 0x%x" " address: 0x%"PRIx64" data: 0x%"PRIx32"\n", vector, address, data); - stl_phys(address, data); + stl_le_phys(address, data); } /* call this function after updating configs by pci_default_write_config(). */