qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] pseries-2.6 migration from QEMU-2.6 to QEMU-2.7 broken
@ 2016-09-22  5:21 Bharata B Rao
  2016-09-22  5:30 ` David Gibson
  2016-09-22  6:07 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 29+ messages in thread
From: Bharata B Rao @ 2016-09-22  5:21 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc; +Cc: david, benh, clg, Nikunj A. Dadhania

Hi,

Nikunj and I realized that migrating pseries-2.6 guest from QEMU-2.6
to newer QEMU-2.7 is broken like this:

qemu-system-ppc64: error while loading state for instance 0x0 of device 'cpu'
qemu-system-ppc64: load of migration failed: Invalid argument

Bisecting tells us that 4e0806110c8b896ceff3490f15a616e8b3165efe
(ppc: Add PPC_64H instruction flag to POWER7 and POWER8) is the
first bad commit.  Along with this there are other 3 similar commits
which add new bits to insns_flags and insns_flags2 fields of POWER7
and POWER8 CPUs.

4e0806110c8b896ceff3490f15a616e8b3165efe Adds PPC_64H to POWER7 and POWER8
dfdd3e43620a6cd4f2be31da5a257c84a16fc000 Adds PPC_64BX to POWER7
b781537560e3b968b6fe1395e3d07bd67f0009ba Adds PPC_CILDST to POWER7 and POWER8
7778a575c7055276afdd01737e9d1029a65f923d Adds PPC2_PM_ISA206 to POWER7 and POWER8

The flag values are expected to remain same for a machine version for
the migration to succeed, but this expectation is broken now. Should
we make the addition of these flags conditional on machine type version ?
But these flags are part of POWER8 CPU definition which is common for
both pseries and upcoming powernv.

Regards,
Bharata.

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

end of thread, other threads:[~2016-09-23  6:05 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22  5:21 [Qemu-devel] pseries-2.6 migration from QEMU-2.6 to QEMU-2.7 broken Bharata B Rao
2016-09-22  5:30 ` David Gibson
2016-09-22  6:00   ` Bharata B Rao
2016-09-22  6:36     ` Cédric Le Goater
2016-09-22  9:46     ` Dr. David Alan Gilbert
2016-09-22 10:01       ` Nikunj A Dadhania
2016-09-22 10:28         ` Dr. David Alan Gilbert
2016-09-22 11:18           ` Nikunj A Dadhania
2016-09-22  6:07 ` Benjamin Herrenschmidt
2016-09-22  6:15   ` Bharata B Rao
2016-09-22  8:47     ` Benjamin Herrenschmidt
2016-09-22  9:04       ` Nikunj A Dadhania
2016-09-22 10:04         ` Benjamin Herrenschmidt
2016-09-22 10:32           ` Paolo Bonzini
2016-09-22 11:07             ` Benjamin Herrenschmidt
2016-09-23  1:01             ` David Gibson
2016-09-22 11:07           ` Nikunj A Dadhania
2016-09-22 11:27             ` Cédric Le Goater
2016-09-22 11:37               ` Benjamin Herrenschmidt
2016-09-23  1:37                 ` David Gibson
2016-09-23  3:27                   ` Benjamin Herrenschmidt
2016-09-23  5:49                     ` David Gibson
2016-09-22 19:00               ` Nikunj A Dadhania
2016-09-22 16:07             ` Dr. David Alan Gilbert
2016-09-22 17:27               ` Nikunj A Dadhania
2016-09-22 10:34         ` Alexey Kardashevskiy
2016-09-22 11:09           ` Benjamin Herrenschmidt
2016-09-23  0:52         ` David Gibson
2016-09-23  3:18           ` Nikunj A Dadhania

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).