mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
migration: Move check_migratable() into qdev.c
The function is only used once, and nothing else in migration knows about objects. Create the function vmstate_device_is_migratable() in savem.c that really do the bit that is related with migration. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
bac3b21218
commit
1bfe5f0586
7 changed files with 31 additions and 29 deletions
|
@ -15,7 +15,7 @@
|
|||
/* vl.c */
|
||||
|
||||
extern const char *bios_name;
|
||||
|
||||
extern int only_migratable;
|
||||
extern const char *qemu_name;
|
||||
extern QemuUUID qemu_uuid;
|
||||
extern bool qemu_uuid_set;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue