From 5fb47c5bedb135f70a9bc214b9d3203bec10cdb8 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 28 Nov 2023 16:09:43 +0100 Subject: [PATCH] qemu: Tweak augeas schema Current entries should always be listed before obsolete ones. Signed-off-by: Andrea Bolognani Reviewed-by: Peter Krempa Reviewed-by: Stefan Berger --- src/qemu/libvirtd_qemu.aug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qemu/libvirtd_qemu.aug b/src/qemu/libvirtd_qemu.aug index 43485b43fb..2b6526538f 100644 --- a/src/qemu/libvirtd_qemu.aug +++ b/src/qemu/libvirtd_qemu.aug @@ -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