Package org.libvirt
Class Domain.MigrateFlags
- java.lang.Object
-
- org.libvirt.Domain.MigrateFlags
-
- Enclosing class:
- Domain
public static final class Domain.MigrateFlags extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intABORT_ON_ERRORCancel migration if a soft error (such as I/O error) happens during migrationstatic intAUTO_CONVERGEEnable algorithms that ensure a live migration will eventually convergestatic intCHANGE_PROTECTIONprotect for changing domain configuration through the whole migration process; this will be used automatically when supportedstatic intCOMPRESSEDCompress migration datastatic intLIVElive migrationstatic intNON_SHARED_DISKmigration with non-shared storage with full disk copystatic intNON_SHARED_INCmigration with non-shared storage with incremental copy (same base image shared between source and destination)static intOFFLINEMigrate a domain definition without starting the domain on the destination and without stopping it on the source hoststatic intPARALLELSend memory pages to the destination host through several network connectionsstatic intPAUSEDpause on remote sidestatic intPEER2PEERdirect source -> dest host control channelstatic intPERSIST_DESTpersist the VM on the destinationstatic intPOSTCOPYSetting the POSTCOPY flag tells libvirt to enable post-copy migrationstatic intRDMA_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 neededstatic intTLSSetting 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 intTUNNELEDtunnel migration data over libvirtd connectionstatic intUNDEFINE_SOURCEundefine the VM on the sourcestatic intUNSAFEforce migration even if it is considered unsafe
-
Constructor Summary
Constructors Constructor Description MigrateFlags()
-
-
-
Field Detail
-
LIVE
public static final int LIVE
live migration
-
PEER2PEER
public static final int PEER2PEER
direct source -> dest host control channel
-
TUNNELED
public static final int TUNNELED
tunnel migration data over libvirtd connection
-
PERSIST_DEST
public static final int PERSIST_DEST
persist the VM on the destination
-
UNDEFINE_SOURCE
public static final int UNDEFINE_SOURCE
undefine the VM on the source
-
PAUSED
public static final int PAUSED
pause on remote side
-
NON_SHARED_DISK
public static final int NON_SHARED_DISK
migration with non-shared storage with full disk copy
-
NON_SHARED_INC
public static final int NON_SHARED_INC
migration with non-shared storage with incremental copy (same base image shared between source and destination)
-
CHANGE_PROTECTION
public static final int CHANGE_PROTECTION
protect for changing domain configuration through the whole migration process; this will be used automatically when supported
-
UNSAFE
public static final int UNSAFE
force migration even if it is considered unsafe
-
OFFLINE
public static final int OFFLINE
Migrate a domain definition without starting the domain on the destination and without stopping it on the source host
-
COMPRESSED
public static final int COMPRESSED
Compress migration data
-
ABORT_ON_ERROR
public static final int ABORT_ON_ERROR
Cancel migration if a soft error (such as I/O error) happens during migration
-
AUTO_CONVERGE
public static final int AUTO_CONVERGE
Enable algorithms that ensure a live migration will eventually converge
-
RDMA_PIN_ALL
public static final int RDMA_PIN_ALL
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 needed
-
POSTCOPY
public static final int POSTCOPY
Setting the POSTCOPY flag tells libvirt to enable post-copy migration
-
TLS
public static final int TLS
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.
-
PARALLEL
public static final int PARALLEL
Send memory pages to the destination host through several network connections
-
-