qemu: Tweak augeas schema

Current entries should always be listed before obsolete ones.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Andrea Bolognani 2023-11-28 16:09:43 +01:00
parent 8ca0005ec6
commit 5fb47c5bed

View File

@ -139,16 +139,16 @@ module Libvirtd_qemu =
let swtpm_entry = str_entry "swtpm_user"
| str_entry "swtpm_group"
let capability_filters_entry = str_array_entry "capability_filters"
let storage_entry = bool_entry "storage_use_nbdkit"
(* Entries that used to exist in the config which are now
* deleted. We keep on parsing them so we don't break
* ability to parse old configs after upgrade
*)
let obsolete_entry = bool_entry "clear_emulator_capabilities"
let capability_filters_entry = str_array_entry "capability_filters"
let storage_entry = bool_entry "storage_use_nbdkit"
(* Each entry in the config is one of the following ... *)
let entry = default_tls_entry
| vnc_entry