From: Alexander Graf Date: Tue, 5 Jul 2011 16:28:06 +0000 (+0200) Subject: msix: use specific endian ld/st_phys X-Git-Tag: pull-nvme-20200902~9594^2~59 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ae5d3eb4745dbcc38a4d6bbaff563f4c2d0e7a16;p=qemu-nvme.git msix: use specific endian ld/st_phys Signed-off-by: Alexander Graf Signed-off-by: Blue Swirl --- diff --git a/hw/msix.c b/hw/msix.c index 03d7becaaf..e67e700a33 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -359,7 +359,7 @@ void msix_notify(PCIDevice *dev, unsigned vector) address = pci_get_quad(table_entry + PCI_MSIX_ENTRY_LOWER_ADDR); data = pci_get_long(table_entry + PCI_MSIX_ENTRY_DATA); - stl_phys(address, data); + stl_le_phys(address, data); } void msix_reset(PCIDevice *dev)