mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
Add VIR_MIGRATE_ZEROCOPY flag
The flag can be used to enable zero-copy mechanism for migrating memory pages. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
f01fc4d119
commit
8744beecb3
@ -1089,6 +1089,15 @@ typedef enum {
|
||||
* Since: 8.5.0
|
||||
*/
|
||||
VIR_MIGRATE_POSTCOPY_RESUME = (1 << 19),
|
||||
|
||||
/* Use zero-copy mechanism for migrating memory pages. For QEMU/KVM this
|
||||
* means QEMU will be temporarily allowed to lock all guest pages in host's
|
||||
* memory, although only those that are queued for transfer will be locked
|
||||
* at the same time.
|
||||
*
|
||||
* Since: 8.5.0
|
||||
*/
|
||||
VIR_MIGRATE_ZEROCOPY = (1 << 20),
|
||||
} virDomainMigrateFlags;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user