So far we only had vmstate_register_with_alias_id(). Signed-off-by: Andreas Färber <afaer...@suse.de> --- stubs/vmstate.c | 7 +++++++ 1 Datei geändert, 7 Zeilen hinzugefügt(+)
diff --git a/stubs/vmstate.c b/stubs/vmstate.c index 3682af5..f64e9a3 100644 --- a/stubs/vmstate.c +++ b/stubs/vmstate.c @@ -10,6 +10,13 @@ int vmstate_register_with_alias_id(DeviceState *dev, return 0; } +int vmstate_register(DeviceState *dev, int instance_id, + const VMStateDescription *vmsd, void *base) +{ + return vmstate_register_with_alias_id(dev, instance_id, vmsd, base, + -1, 0); +} + void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd, void *opaque) -- 1.7.10.4