]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Support mixed endian machines
authorTan, Li <li.tan@intel.com>
Fri, 23 May 2008 06:54:09 +0000 (14:54 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:32 +0000 (12:42 +0300)
commit9ef621d3be56e1188300476a8102ff54f7b6793f
treef5576d1365e726823c3eb4f772481cf5e4d1d0c7
parent25be46080f1a446cb2bda3daadbd22a5682b955e
KVM: Support mixed endian machines

Currently kvmtrace is not portable. This will prevent from copying a
trace file from big-endian target to little-endian workstation for analysis.
In the patch, kernel outputs metadata containing a magic number to trace
log, and changes 64-bit words to be u64 instead of a pair of u32s.

Signed-off-by: Tan Li <li.tan@intel.com>
Acked-by: Jerone Young <jyoung5@us.ibm.com>
Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/kvm.h
virt/kvm/kvm_trace.c