Package org.libvirt
Class Domain.MigrateFlags
java.lang.Object
org.libvirt.Domain.MigrateFlags
- Enclosing class:
- Domain
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Cancel migration if a soft error (such as I/O error) happens during migrationstatic final int
Enable algorithms that ensure a live migration will eventually convergestatic final int
protect for changing domain configuration through the whole migration process; this will be used automatically when supportedstatic final int
Compress migration datastatic final int
live migrationstatic final int
migration with non-shared storage with full disk copystatic final int
migration with non-shared storage with incremental copy (same base image shared between source and destination)static final int
Migrate a domain definition without starting the domain on the destination and without stopping it on the source hoststatic final int
Send memory pages to the destination host through several network connectionsstatic final int
pause on remote sidestatic final int
direct source -> dest host control channelstatic final int
persist the VM on the destinationstatic final int
Setting the POSTCOPY flag tells libvirt to enable post-copy migrationstatic final int
This flag can be used with RDMA migration (i.e., when PARAM_URI starts with "rdma://") to tell the hypervisor to pin all domain's memory at once before migration starts rather then letting it pin memory pages as neededstatic final int
Setting the TLS flag will cause the migration to attempt to use the TLS environment configured by the hypervisor in order to perform the migration.static final int
tunnel migration data over libvirtd connectionstatic final int
undefine the VM on the sourcestatic final int
force migration even if it is considered unsafe -
Constructor Summary
-
Method Summary
-
Field Details
-
LIVE
public static final int LIVElive migration -
PEER2PEER
public static final int PEER2PEERdirect source -> dest host control channel -
TUNNELED
public static final int TUNNELEDtunnel migration data over libvirtd connection -
PERSIST_DEST
public static final int PERSIST_DESTpersist the VM on the destination -
UNDEFINE_SOURCE
public static final int UNDEFINE_SOURCEundefine the VM on the source -
PAUSED
public static final int PAUSEDpause on remote side -
NON_SHARED_DISK
public static final int NON_SHARED_DISKmigration with non-shared storage with full disk copy -
NON_SHARED_INC
public static final int NON_SHARED_INCmigration with non-shared storage with incremental copy (same base image shared between source and destination) -
CHANGE_PROTECTION
public static final int CHANGE_PROTECTIONprotect for changing domain configuration through the whole migration process; this will be used automatically when supported -
UNSAFE
public static final int UNSAFEforce migration even if it is considered unsafe -
OFFLINE
public static final int OFFLINEMigrate a domain definition without starting the domain on the destination and without stopping it on the source host -
COMPRESSED
public static final int COMPRESSEDCompress migration data -
ABORT_ON_ERROR
public static final int ABORT_ON_ERRORCancel migration if a soft error (such as I/O error) happens during migration -
AUTO_CONVERGE
public static final int AUTO_CONVERGEEnable algorithms that ensure a live migration will eventually converge -
RDMA_PIN_ALL
public static final int RDMA_PIN_ALLThis flag can be used with RDMA migration (i.e., when PARAM_URI starts with "rdma://") to tell the hypervisor to pin all domain's memory at once before migration starts rather then letting it pin memory pages as needed -
POSTCOPY
public static final int POSTCOPYSetting the POSTCOPY flag tells libvirt to enable post-copy migration -
TLS
public static final int TLSSetting the TLS flag will cause the migration to attempt to use the TLS environment configured by the hypervisor in order to perform the migration. -
PARALLEL
public static final int PARALLELSend memory pages to the destination host through several network connections
-
-
Constructor Details
-
MigrateFlags
public MigrateFlags()
-