083a5f8731
Add vmstate stub functions, so that qdev.o can be used without savevm.o when vmstate support is not necessary (i.e. by *-user). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
18 lines
510 B
C
18 lines
510 B
C
#include "qemu-common.h"
|
|
#include "migration/vmstate.h"
|
|
|
|
int vmstate_register_with_alias_id(DeviceState *dev,
|
|
int instance_id,
|
|
const VMStateDescription *vmsd,
|
|
void *base, int alias_id,
|
|
int required_for_version)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void vmstate_unregister(DeviceState *dev,
|
|
const VMStateDescription *vmsd,
|
|
void *opaque)
|
|
{
|
|
}
|