mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
vmstate: replace DeviceState with VMStateIf
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>
This commit is contained in:
parent
107b59698f
commit
3cad405bab
17 changed files with 41 additions and 38 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
const VMStateDescription vmstate_dummy = {};
|
||||
|
||||
int vmstate_register_with_alias_id(DeviceState *dev,
|
||||
int vmstate_register_with_alias_id(VMStateIf *obj,
|
||||
int instance_id,
|
||||
const VMStateDescription *vmsd,
|
||||
void *base, int alias_id,
|
||||
|
|
@ -13,7 +13,7 @@ int vmstate_register_with_alias_id(DeviceState *dev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
void vmstate_unregister(DeviceState *dev,
|
||||
void vmstate_unregister(VMStateIf *obj,
|
||||
const VMStateDescription *vmsd,
|
||||
void *opaque)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue