mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
migration: Move migrate_postcopy() to options.c
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
873f674c55
commit
f774fde5d4
4 changed files with 17 additions and 7 deletions
|
@ -204,6 +204,14 @@ bool migrate_zero_copy_send(void)
|
|||
|
||||
return s->capabilities[MIGRATION_CAPABILITY_ZERO_COPY_SEND];
|
||||
}
|
||||
|
||||
/* pseudo capabilities */
|
||||
|
||||
bool migrate_postcopy(void)
|
||||
{
|
||||
return migrate_postcopy_ram() || migrate_dirty_bitmaps();
|
||||
}
|
||||
|
||||
typedef enum WriteTrackingSupport {
|
||||
WT_SUPPORT_UNKNOWN = 0,
|
||||
WT_SUPPORT_ABSENT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue