diff options
author | Alexander Graf <agraf@suse.de> | 2012-10-15 20:30:28 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-10-17 16:47:34 +0200 |
commit | 28f362be6e7f45ea9b7a57a08555c4c784f36198 (patch) | |
tree | d90570d400b00183167574cdc39f207e675207d7 /hw/piix_pci.c | |
parent | 6f4d6b09088ee161ff4be0e4db4e4c0962c79070 (diff) |
memory: Make eventfd adhere to device endianness
Our memory API MMIO regions know the concept of device endianness. This
is used to automatically swap endianness between devices and host CPU,
depending on whether buses in between would swizzle the bits.
The ioeventfd value comparison does not adhere to that semantic though.
Probably because nobody has been running ioeventfd on a BE platform and
the only device implementing ioeventfd right now is LE (PCI) based.
So add swizzling to ioeventfd registration / deletion to make the rest
of the code as consistent as possible.
Thanks a lot to Michael Tsirkin to point me towards the right direction.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/piix_pci.c')
0 files changed, 0 insertions, 0 deletions