aboutsummaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-18 21:41:59 +0100
committerAndreas Färber <afaerber@suse.de>2013-03-12 10:35:54 +0100
commitd7650eab429a033c23947f20d1ae14c4d1e719a3 (patch)
tree7115efd5f76da0f04dc700ba071ebd8e6534aef3 /savevm.c
parentb350ab758342c764a6ead6ef064b15a72c830808 (diff)
downloadqemu-arm-d7650eab429a033c23947f20d1ae14c4d1e719a3.tar.gz
vmstate: Make vmstate_register() static inline
This avoids adding a duplicate stub for CONFIG_USER_ONLY. Suggested-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/savevm.c b/savevm.c
index 147e2d232e..35c8d1e445 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1423,13 +1423,6 @@ int vmstate_register_with_alias_id(DeviceState *dev, int instance_id,
return 0;
}
-int vmstate_register(DeviceState *dev, int instance_id,
- const VMStateDescription *vmsd, void *opaque)
-{
- return vmstate_register_with_alias_id(dev, instance_id, vmsd,
- opaque, -1, 0);
-}
-
void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd,
void *opaque)
{