[PATCH 1/6] target-arm: kvm: save/restore mp state
Paolo Bonzini
pbonzini at redhat.com
Thu Feb 26 04:57:52 PST 2015
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",
More information about the linux-arm-kernel
mailing list