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

Paolo Bonzini
2015-02-26T12:52:20Z

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",