From: Christoffer Dall Date: Tue, 28 Jan 2014 16:28:42 +0000 (-0800) Subject: KVM: Specify byte order for KVM_EXIT_MMIO X-Git-Tag: v3.15-rc1~118^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6acdb1603a7db4c1b5d91863a13d2c3f1b9188b0;p=pandora-kernel.git KVM: Specify byte order for KVM_EXIT_MMIO The KVM API documentation is not clear about the semantics of the data field on the mmio struct on the kvm_run struct. This has become problematic when supporting ARM guests on big-endian host systems with guests of both endianness types, because it is unclear how the data should be exported to user space. This should not break with existing implementations as all supported existing implementations of known user space applications (QEMU and kvmtools for virtio) only support default endianness of the architectures on the host side. Cc: Marc Zyngier Cc: Peter Maydell Cc: Alexander Graf Signed-off-by: Christoffer Dall Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed