mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
qemu: Fix augeas support for migration ports
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> (cherry picked from commit d9be5a7157515eeae99379e9544c34b34c5e5198) Conflicts: src/qemu/libvirtd_qemu.aug src/qemu/test_libvirtd_qemu.aug.in
This commit is contained in:
parent
15110e1835
commit
6f5b60a95b
@ -78,6 +78,9 @@ module Libvirtd_qemu =
|
||||
| int_entry "keepalive_interval"
|
||||
| int_entry "keepalive_count"
|
||||
|
||||
let network_entry = int_entry "migration_port_min"
|
||||
| int_entry "migration_port_max"
|
||||
|
||||
(* Each entry in the config is one of the following ... *)
|
||||
let entry = vnc_entry
|
||||
| spice_entry
|
||||
@ -88,6 +91,7 @@ module Libvirtd_qemu =
|
||||
| process_entry
|
||||
| device_entry
|
||||
| rpc_entry
|
||||
| network_entry
|
||||
|
||||
let comment = [ label "#comment" . del /#[ \t]*/ "# " . store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
|
||||
let empty = [ label "#empty" . eol ]
|
||||
|
@ -66,5 +66,5 @@ module Test_libvirtd_qemu =
|
||||
{ "keepalive_interval" = "5" }
|
||||
{ "keepalive_count" = "5" }
|
||||
{ "seccomp_sandbox" = "1" }
|
||||
{ "migration_port_min" = "1234" }
|
||||
{ "migration_port_max" = "12345" }
|
||||
{ "migration_port_min" = "49152" }
|
||||
{ "migration_port_max" = "49215" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user