]> git.proxmox.com Git - qemu.git/commit
cpu: Guard cpu_{save,load}() definitions
authorAndreas Färber <afaerber@suse.de>
Sat, 2 Feb 2013 14:51:06 +0000 (15:51 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 28 Jun 2013 11:25:12 +0000 (13:25 +0200)
commit8d0f2baebe57ccdb09a21da80b2994b772854ad6
tree277c5390f6e93996a9ca2c7bd1f9038105687b45
parentda69721460e652072b6a3dd52b7693da21ffe237
cpu: Guard cpu_{save,load}() definitions

A few targets already managed to implement cpu_save() and cpu_load()
without defining CPU_SAVE_VERSION that causes them to be registered.

Guard the prototypes with CPU_SAVE_VERSION to avoid this happening again
until all targets are converted to VMState (or QIDL).

Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qemu-common.h