[libvirt] [PATCH] qemu: Make migration port range configurable

Ján Tomko jtomko at redhat.com
Thu Oct 17 11:44:57 UTC 2013


On 10/15/2013 03:27 PM, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu.conf                 | 11 +++++++++++
>  src/qemu/qemu_conf.c               | 21 +++++++++++++++++++++
>  src/qemu/qemu_conf.h               |  2 ++
>  src/qemu/qemu_driver.c             |  4 ++--
>  src/qemu/test_libvirtd_qemu.aug.in |  2 ++
>  5 files changed, 38 insertions(+), 2 deletions(-)
> 
> diff --git a/src/qemu/qemu.conf b/src/qemu/qemu.conf
> index bf57b9c..a6d7c15 100644
> --- a/src/qemu/qemu.conf
> +++ b/src/qemu/qemu.conf
> @@ -436,3 +436,14 @@
>  # Override the listen address for all incoming migrations. Defaults to
>  # 0.0.0.0 or :: in case if both host and qemu are capable of IPv6.
>  #migration_address = "127.0.0.1"
> +
> +
> +# Override the port range used for incoming migrations.
> +#
> +# Minimum must be greater than 0, however when QEMU is not running as root,
> +# setting the minimum to be lower than 1024 will not work.
> +#
> +# Maximum must be lower then 65535.

s/be lower then/not be greater than/

> +#
> +#migration_port_min = 49152
> +#migration_port_max = 49215

ACK

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131017/d6adc249/attachment-0001.sig>


More information about the libvir-list mailing list