Skip to content
Commit 9ef621d3 authored by Tan, Li's avatar Tan, Li Committed by Avi Kivity
Browse files

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: default avatarTan Li <li.tan@intel.com>
Acked-by: default avatarJerone Young <jyoung5@us.ibm.com>
Acked-by: default avatarHollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 25be4608
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment