]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix augeas support for migration ports
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Oct 2013 16:28:14 +0000 (18:28 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Oct 2013 16:30:13 +0000 (18:30 +0200)
Commit e3ef20d7 allows user to configure migration ports range via
qemu.conf. However, it forgot to update augeas definition file and
even the test data was malicious.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/libvirtd_qemu.aug
src/qemu/test_libvirtd_qemu.aug.in

index 93a2a29aed7eb4a5811f05ca941dad6837bb0227..a9ff421eb6053f7b9bc04df5ca7a3555fde4fc1a 100644 (file)
@@ -82,6 +82,8 @@ module Libvirtd_qemu =
                  | int_entry "keepalive_count"
 
    let network_entry = str_entry "migration_address"
+                 | int_entry "migration_port_min"
+                 | int_entry "migration_port_max"
 
    (* Each entry in the config is one of the following ... *)
    let entry = vnc_entry
index 8f4b3a9d2c14813962caf8a0e7340338a53289b1..81fedd68303cb9e1d666d6137ee7896462969d39 100644 (file)
@@ -70,5 +70,5 @@ module Test_libvirtd_qemu =
 { "keepalive_count" = "5" }
 { "seccomp_sandbox" = "1" }
 { "migration_address" = "127.0.0.1" }
-{ "migration_port_min" = "1234" }
-{ "migration_port_max" = "12345" }
+{ "migration_port_min" = "49152" }
+{ "migration_port_max" = "49215" }