Subject: [PATCH 1/6] target-arm: kvm: save/restore mp state

From: [email-masked] (Paolo Bonzini)
Date: Thu, 26 Feb 2015 13:57:52 +0100

On 25/02/2015 17:02, Alex Benn?e wrote:
> +#if defined CONFIG_KVM
> +        {
> +            .name = "mp_state",
> +            .version_id = 0,
> +            .size = sizeof(uint32_t),
> +            .info = &vmstate_mpstate,
> +            .flags = VMS_SINGLE,
> +            .offset = 0,
> +        },
> +#endif

This makes TCG migration state incompatible depending on whether QEMU
was built on ARM or x86.

You can instead add a subsection, and mark it as needed only iff
kvm_enabled().

Paolo

>          {
>              .name = "cpsr",