[pve-devel] [PATCH v7 cluster 01/10] Add "cpu-models.conf" to observed files

Stefan Reiter s.reiter at proxmox.com
Thu Jan 16 16:40:47 CET 2020


Holds information about custom CPU models, section config style. Used in
qemu-server.

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 data/PVE/Cluster.pm | 2 +-
 data/src/status.c   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index b4fac03..414e027 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -69,7 +69,7 @@ my $observed = {
     'sdn/zones.cfg.new' => 1,
     'sdn/controllers.cfg' => 1,
     'sdn/controllers.cfg.new' => 1,
-
+    'virtual-guest/cpu-models.conf' => 1,
 };
 
 sub base_dir {
diff --git a/data/src/status.c b/data/src/status.c
index d6dccc1..811d978 100644
--- a/data/src/status.c
+++ b/data/src/status.c
@@ -100,6 +100,7 @@ static memdb_change_t memdb_change_array[] = {
 	{ .path = "sdn/zones.cfg.new" },
 	{ .path = "sdn/controllers.cfg" },
 	{ .path = "sdn/controllers.cfg.new" },
+	{ .path = "virtual-guest/cpu-models.conf" },
 };
 
 static GMutex mutex;
-- 
2.20.1





More information about the pve-devel mailing list