From 42998d0a6fe1bed7876aadf604cf74f6c4eaff78 Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Tue, 5 Jun 2012 20:56:00 +0200 Subject: More meaningful help messages for libvirt migration options Change-Id: I08f4724a7ef664cfebba57c5c9495494853289a8 Reference: http://libvirt.org/html/libvirt-libvirt.html#virDomainMigrate --- nova/virt/libvirt/connection.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'nova') diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index 11c9841b3..0cfcf2993 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -114,17 +114,19 @@ libvirt_opts = [ help='Sync virtual and real mouse cursors in Windows VMs'), cfg.StrOpt('live_migration_uri', default="qemu+tcp://%s/system", - help='Define protocol used by live_migration feature'), + help='Migration target URI ' + '(any included "%s" is replaced with ' + 'the migration target hostname)'), cfg.StrOpt('live_migration_flag', default='VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER', - help='Define live migration behavior.'), + help='Migration flags to be set for live migration'), cfg.StrOpt('block_migration_flag', default='VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, ' 'VIR_MIGRATE_NON_SHARED_INC', - help='Define block migration behavior.'), + help='Migration flags to be set for block migration'), cfg.IntOpt('live_migration_bandwidth', default=0, - help='Define live migration behavior'), + help='Maximum bandwidth to be used during migration, in Mbps'), cfg.StrOpt('snapshot_image_format', default=None, help='Snapshot image format (valid options are : ' -- cgit