mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Allow NBD migration over UNIX socket
Adds new typed param for migration and uses this as a UNIX socket path that should be used for the NBD part of migration. And also adds virsh support. Partially resolves: https://bugzilla.redhat.com/1638889 Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
@@ -981,6 +981,19 @@ typedef enum {
|
||||
*/
|
||||
# define VIR_MIGRATE_PARAM_DISKS_PORT "disks_port"
|
||||
|
||||
/**
|
||||
* VIR_MIGRATE_PARAM_DISKS_URI:
|
||||
*
|
||||
* virDomainMigrate* params field: URI used for incoming disks migration. Type
|
||||
* is VIR_TYPED_PARAM_STRING. Only schemes "tcp" and "unix" are accepted. TCP
|
||||
* URI can currently only provide a server and port to listen on (and connect
|
||||
* to), UNIX URI may only provide a path component for a UNIX socket. This is
|
||||
* currently only supported by the QEMU driver. UNIX URI is only usable if the
|
||||
* management application makes sure that socket created with this name on the
|
||||
* destination will be reachable from the source under the same exact path.
|
||||
*/
|
||||
# define VIR_MIGRATE_PARAM_DISKS_URI "disks_uri"
|
||||
|
||||
/**
|
||||
* VIR_MIGRATE_PARAM_COMPRESSION:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user