From: Manish Jaggi <manish.ja...@cavium.com> QEMU on arm systems use -machine virt -cpu host option for a VM. Migration thus is limited between machines with same cpu.
This is a limitation if migration is desired between cpus which are of same family and have only few diferences like bug fixes which have no effect on VM operation. They just differ in say MIDR values. This patchset introduces a command line option -skipinvariant. Invariant registers will be skipped from being restored from guests context on migrated host. Mailing list discussion on this topic: https://www.mail-archive.com/qemu-devel@nongnu.org/msg560043.html Manish Jaggi (3): arm: API to check if the register is invariant arm: Introduce skipinvariant command line option arm: Skip invariant register restore qemu-options.hx | 11 +++++++++++ target/arm/kvm.c | 3 +++ target/arm/kvm32.c | 5 +++++ target/arm/kvm64.c | 16 ++++++++++++++++ target/arm/kvm_arm.h | 8 ++++++++ vl.c | 22 ++++++++++++++++++++++ 6 files changed, 65 insertions(+) -- 1.8.3.1