[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] [RFC] qemu: arm: Migration between machines
From: |
mjaggi |
Subject: |
[Qemu-devel] [PATCH v2 0/2] [RFC] qemu: arm: Migration between machines with different MIDR values |
Date: |
Tue, 23 Oct 2018 09:31:16 +0000 |
From: Manish Jaggi <address@hidden>
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 difeerences like bug fixes which have no effect on
VM operation. They just differ in say MIDR values.
This patchset introduces an option -hostinvariant whic along with a new KVM
error code -KVM_EINVARIANT will enable qemu to replace migrated guests'
invariant regiters with destination machines cpu regs.
This feature is user opt-in. So user is aware of the differences in MIDR.
Changes since v1-
This patch is revised after previous RFC comments
https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg03546.html
Manish Jaggi (2):
arm: Introduce hostinvariant command line option
arm: program migrated guests' invariant registers with host ones
qemu-options.hx | 13 +++++++++++++
target/arm/kvm.c | 15 +++++++++++++--
vl.c | 24 ++++++++++++++++++++++++
3 files changed, 50 insertions(+), 2 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH v2 0/2] [RFC] qemu: arm: Migration between machines with different MIDR values,
mjaggi <=