diff options
| author | Cédric Le Goater | 2014-11-03 16:14:50 +0100 |
|---|---|---|
| committer | Alexander Graf | 2015-01-07 16:16:26 +0100 |
| commit | e094c4c12f33a1c965f5af02f33968a337348739 (patch) | |
| tree | a93c94e9d6d30e205fb8fd9b06b6df7e3f5018a7 /linux-headers/linux | |
| parent | target-ppc: Eliminate set_fprf Argument From helper_compute_fprf (diff) | |
| download | qemu-e094c4c12f33a1c965f5af02f33968a337348739.tar.gz qemu-e094c4c12f33a1c965f5af02f33968a337348739.tar.xz qemu-e094c4c12f33a1c965f5af02f33968a337348739.zip | |
target-ppc: explicitly save page table headers in big endian
Currently, when the page tables are saved, the kvm_get_htab_header structs
and the ptes are assumed being big endian and dumped as a indistinct blob
in the statefile. This is no longer true when the host is little endian
and this breaks restoration.
This patch unfolds the kvmppc_save_htab routine to write explicitly the
kvm_get_htab_header structs in big endian. The ptes are left untouched.
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
