diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2012-06-14 12:16:28 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@robin.(none)> | 2012-06-18 10:21:11 +0300 |
commit | 2cf62ad74261a9bd90e5b720e726f0404640b16a (patch) | |
tree | 41b1325285ed45c13327c1b56bef848e922cad3f /hw/msix.c | |
parent | eebcb0a76a7e8b093740c9bd3db00f5b38e79a33 (diff) |
msix: Note endian TODO item
MSIX, like PCI, is little endian. Specifying native is wrong here,
but we need to check the rest of the file to determine if it's
as simple as flipping this macro.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/msix.c')
-rw-r--r-- | hw/msix.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -224,6 +224,7 @@ static void msix_mmio_write(void *opaque, target_phys_addr_t addr, static const MemoryRegionOps msix_mmio_ops = { .read = msix_mmio_read, .write = msix_mmio_write, + /* TODO: MSIX should be LITTLE_ENDIAN. */ .endianness = DEVICE_NATIVE_ENDIAN, .valid = { .min_access_size = 4, |