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

Jiri Denemark jdenemar at redhat.com
Fri Oct 18 14:39:01 UTC 2013


On Thu, Oct 17, 2013 at 13:44:57 +0200, Jano Tomko wrote:
> 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/

Oops. Fixed and pushed, thanks.

Jirka




More information about the libvir-list mailing list