qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] [RFC] qemu: arm: Migration between machines with different MIDR values
@ 2018-10-23  9:31 mjaggi
  2018-10-23  9:31 ` [Qemu-devel] [PATCH v2 1/2] [RFC] arm: Introduce hostinvariant command line option mjaggi
  2018-10-23  9:31 ` [Qemu-devel] [PATCH v2 2/2] [RFC] arm: program migrated guests' invariant registers with host ones mjaggi
  0 siblings, 2 replies; 4+ messages in thread
From: mjaggi @ 2018-10-23  9:31 UTC (permalink / raw)
  To: Jaggi, Manish, quintela@redhat.com, dgilbert@redhat.com,
	eric.auger@redhat.com, qemu-devel@nongnu.org,
	peter.maydell@linaro.org, Nair, Jayachandran, Nowicki, Tomasz

From: Manish Jaggi <manish.jaggi@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 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-24 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-23  9:31 [Qemu-devel] [PATCH v2 0/2] [RFC] qemu: arm: Migration between machines with different MIDR values mjaggi
2018-10-23  9:31 ` [Qemu-devel] [PATCH v2 1/2] [RFC] arm: Introduce hostinvariant command line option mjaggi
2018-10-24 10:02   ` Juan Quintela
2018-10-23  9:31 ` [Qemu-devel] [PATCH v2 2/2] [RFC] arm: program migrated guests' invariant registers with host ones mjaggi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).