options.c (b4bc342c766640e0cb8a0b72f71e0ee5545fb790) options.c (87dca0c9bb63014ef73ad82f7aedea1cb5a822e7)
1/*
2 * QEMU migration capabilities
3 *
4 * Copyright (c) 2012-2023 Red Hat Inc
5 *
6 * Authors:
7 * Orit Wasserman <owasserm@redhat.com>
8 * Juan Quintela <quintela@redhat.com>

--- 133 unchanged lines hidden (view full) ---

142{
143 MigrationState *s;
144
145 s = migrate_get_current();
146
147 return s->capabilities[MIGRATION_CAPABILITY_VALIDATE_UUID];
148}
149
1/*
2 * QEMU migration capabilities
3 *
4 * Copyright (c) 2012-2023 Red Hat Inc
5 *
6 * Authors:
7 * Orit Wasserman <owasserm@redhat.com>
8 * Juan Quintela <quintela@redhat.com>

--- 133 unchanged lines hidden (view full) ---

142{
143 MigrationState *s;
144
145 s = migrate_get_current();
146
147 return s->capabilities[MIGRATION_CAPABILITY_VALIDATE_UUID];
148}
149
150bool migrate_xbzrle(void)
151{
152 MigrationState *s;
153
154 s = migrate_get_current();
155
156 return s->capabilities[MIGRATION_CAPABILITY_XBZRLE];
157}
158
150bool migrate_zero_blocks(void)
151{
152 MigrationState *s;
153
154 s = migrate_get_current();
155
156 return s->capabilities[MIGRATION_CAPABILITY_ZERO_BLOCKS];
157}
158
159bool migrate_zero_copy_send(void)
160{
161 MigrationState *s;
162
163 s = migrate_get_current();
164
165 return s->capabilities[MIGRATION_CAPABILITY_ZERO_COPY_SEND];
166}
159bool migrate_zero_blocks(void)
160{
161 MigrationState *s;
162
163 s = migrate_get_current();
164
165 return s->capabilities[MIGRATION_CAPABILITY_ZERO_BLOCKS];
166}
167
168bool migrate_zero_copy_send(void)
169{
170 MigrationState *s;
171
172 s = migrate_get_current();
173
174 return s->capabilities[MIGRATION_CAPABILITY_ZERO_COPY_SEND];
175}