mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
msi: use specific endian ld/st_phys
Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
6c7796e5c1
commit
c5d29d2fec
1 changed files with 1 additions and 1 deletions
2
hw/msi.c
2
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(). */
|
||||
|
|
Loading…
Reference in a new issue