]> git.proxmox.com Git - mirror_qemu.git/commit
cpu: Fix VMSTATE_CPU() semantics
authorAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 02:07:50 +0000 (04:07 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 31 Jul 2013 19:03:59 +0000 (21:03 +0200)
commite0d479445876676f3f92e1bc6d5f92d4bb2500f8
treeb992789c265397ee626f7db4d1f4864d7651a179
parent1197cbb9eda1dc82e2fa1815ca62bc3de158353e
cpu: Fix VMSTATE_CPU() semantics

Commit 1a1562f5ea3da17d45d3829e35b5f49da9ec2db5 prepared a VMSTATE_CPU()
macro for device-style VMStateDescription registration, but missed to
adapt cpu_exec_init(), so that the "cpu_common" VMStateDescription was
still registered for AlphaCPU (fe31e7374299c0c6172ce618b29bf2fecbd881c7)
and OpenRISCCPU (da69721460e652072b6a3dd52b7693da21ffe237). Fix this.

Cc: Richard Henderson <rth@twiddle.net>
Tested-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
exec.c