diff options
author | Jason Wang <jasowang@redhat.com> | 2015-11-06 16:02:45 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-11-12 15:49:32 +0200 |
commit | b8aecea23aaccf39da54c77ef248f5fa50dcfbc1 (patch) | |
tree | 029c44aaaa017d0b13a44da65f5b9caeb1f22a16 /configure | |
parent | a6df8adf3edbb3062f087e425564df35077e8410 (diff) | |
download | qemu-b8aecea23aaccf39da54c77ef248f5fa50dcfbc1.zip qemu-b8aecea23aaccf39da54c77ef248f5fa50dcfbc1.tar.gz qemu-b8aecea23aaccf39da54c77ef248f5fa50dcfbc1.tar.bz2 |
memory: don't try to adjust endianness for zero length eventfd
There's no need to adjust endianness for zero length eventfd since the
data wrote was actually ignored by kernel. So skip the adjust in this
case to fix a possible crash when trying to use wildcard mmio eventfd
in ppc.
Cc: Greg Kurz <gkurz@linux.vnet.ibm.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions