cpu: Introduce cpu_class_set_vmsd()
commitca91b15f2d2e43eba8f9a3ec5090f0a11b861ba4
authorAndreas Färber <afaerber@suse.de>
Fri, 22 Feb 2013 20:50:10 +0000 (22 21:50 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 12 Mar 2013 09:35:54 +0000 (12 10:35 +0100)
tree2d3b08d64ddf8c2fb3d82c59721aa74b63b36a59
parentb170fce3dd06372f7bfec9a780ebcb1fce6d57e4
cpu: Introduce cpu_class_set_vmsd()

This setter avoids redefining each VMStateDescription value to
vmstate_dummy by not referencing the value for CONFIG_USER_ONLY.

Suggested-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qom/cpu.h