3cad405bab
Replace DeviceState dependency with VMStateIf on vmstate API. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Acked-by: Halil Pasic <pasic@linux.ibm.com>
26 lines
689 B
C
26 lines
689 B
C
#include "qemu/osdep.h"
|
|
#include "migration/vmstate.h"
|
|
|
|
const VMStateDescription vmstate_dummy = {};
|
|
|
|
int vmstate_register_with_alias_id(VMStateIf *obj,
|
|
int instance_id,
|
|
const VMStateDescription *vmsd,
|
|
void *base, int alias_id,
|
|
int required_for_version,
|
|
Error **errp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void vmstate_unregister(VMStateIf *obj,
|
|
const VMStateDescription *vmsd,
|
|
void *opaque)
|
|
{
|
|
}
|
|
|
|
bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
|
|
{
|
|
return true;
|
|
}
|