[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-ppc: explicitly save page table headers
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] target-ppc: explicitly save page table headers in big endian |
Date: |
Thu, 20 Nov 2014 18:29:52 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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 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 <address@hidden>
> Cc: Paul Mackerras <address@hidden>
> Cc: Alexey Kardashevskiy <address@hidden>
> Cc: Gregory Kurz <address@hidden>
Thanks, applied to ppc-next-2.3.
Alex