From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: "Jia Liu" <proljc@gmail.com>,
quintela@redhat.com, "Michael Roth" <mdroth@linux.vnet.ibm.com>,
"Blue Swirl" <blauwirbel@gmail.com>,
"Anthony Liguori" <anthony@codemonkey.ws>,
"Andreas Färber" <afaerber@suse.de>,
"Aurélien Jarno" <aurelien@aurel32.net>,
"Richard Henderson" <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH qom-cpu v3 0/6] QOM CPUState migration, next generation
Date: Tue, 18 Jun 2013 02:29:39 +0200 [thread overview]
Message-ID: <1371515385-32203-1-git-send-email-afaerber@suse.de> (raw)
Hello,
As previously reported, alpha and openrisc had prepared VMStateDescriptions
but failed to register them due to lack of CPU_SAVE_VERSION.
Now that CPUState is a DeviceState, it was suggested to register the VMState
of new CPUs the same way devices do. They thereby deviate from legacy CPUs,
which register a separate VMStateDescription for the common state.
The series still concludes with a patch to prevent further silent migration
registration bugs.
Regards,
Andreas
v2 -> v3:
* Prepended patch introducing VMSTATE_CPU() macro for vmstate_cpu_common.
* Prepended patch adding device_class_set_vmsd().
* Added typo fix patch for cpu_class_set_vmsd().
* Register AlphaCPU and OpenRISCCPU vmsd via DeviceClass instead of CPUClass.
Cc: Juan Quintela <quintela@redhat.com>
Cc: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: Aurélien Jarno <aurelien@aurel32.net>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Jia Liu <proljc@gmail.com>
Andreas Färber (6):
cpu: Fix cpu_class_set_vmsd() documentation
cpu: Introduce device_class_set_vmsd() helper
cpu: Introduce VMSTATE_CPU() macro for CPUState
target-alpha: Register VMStateDescription for AlphaCPU
target-openrisc: Register VMStateDescription for OpenRISCCPU
cpu: Guard cpu_{save,load}() definitions
exec.c | 5 ++---
include/qemu-common.h | 2 ++
include/qom/cpu.h | 37 ++++++++++++++++++++++++++++++++++++-
target-alpha/cpu-qom.h | 4 ++++
target-alpha/cpu.c | 2 ++
target-alpha/machine.c | 28 ++++++++++++++++------------
target-openrisc/cpu.c | 1 +
target-openrisc/cpu.h | 2 ++
target-openrisc/machine.c | 27 ++++++++++++++++-----------
9 files changed, 81 insertions(+), 27 deletions(-)
--
1.8.1.4
next reply other threads:[~2013-06-18 0:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 0:29 Andreas Färber [this message]
2013-06-18 0:29 ` [Qemu-devel] [PATCH qom-cpu v3 1/6] cpu: Fix cpu_class_set_vmsd() documentation Andreas Färber
2013-06-18 2:30 ` li guang
2013-06-18 11:43 ` Juan Quintela
2013-06-18 0:29 ` [Qemu-devel] [PATCH qom-cpu v3 2/6] cpu: Introduce device_class_set_vmsd() helper Andreas Färber
2013-06-18 11:45 ` Juan Quintela
2013-06-18 0:29 ` [Qemu-devel] [PATCH qom-cpu v3 3/6] cpu: Introduce VMSTATE_CPU() macro for CPUState Andreas Färber
2013-06-18 0:29 ` [Qemu-devel] [PATCH qom-cpu v3 4/6] target-alpha: Register VMStateDescription for AlphaCPU Andreas Färber
2013-06-18 11:50 ` Juan Quintela
2013-06-18 14:40 ` Richard Henderson
2013-06-18 0:29 ` [Qemu-devel] [PATCH qom-cpu v3 5/6] target-openrisc: Register VMStateDescription for OpenRISCCPU Andreas Färber
2013-06-18 11:51 ` Juan Quintela
2013-06-18 0:29 ` [Qemu-devel] [PATCH qom-cpu v3 6/6] cpu: Guard cpu_{save, load}() definitions Andreas Färber
2013-06-18 11:51 ` Juan Quintela
2013-06-18 15:33 ` [Qemu-devel] [PATCH qom-cpu v3 0/6] QOM CPUState migration, next generation Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371515385-32203-1-git-send-email-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=anthony@codemonkey.ws \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=proljc@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).