Re: [Qemu-devel] [PATCH] target-ppc: explicitly save page table headers in big endian

2014-11-20 Thread Alexander Graf
On 03.11.14 16:14, Cédric Le Goater wrote: > 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 restor

[Qemu-devel] [PATCH] target-ppc: explicitly save page table headers in big endian

2014-11-03 Thread Cédric Le Goater
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 routi