[pve-devel] [PATCH v3 cluster 03/12] Add "cpu-models.conf" to observed files

Stefan Reiter s.reiter at proxmox.com
Tue Oct 15 16:12:25 CEST 2019


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 | 1 +
 data/src/status.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 9cb68d8..f3f1704 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -97,6 +97,7 @@ my $observed = {
     'ceph.conf' => 1,
     'sdn.cfg' => 1,
     'sdn.cfg.new' => 1,
+    'cpu-models.conf' => 1,
 };
 
 # only write output if something fails
diff --git a/data/src/status.c b/data/src/status.c
index 62eaa76..5607f29 100644
--- a/data/src/status.c
+++ b/data/src/status.c
@@ -96,6 +96,7 @@ static memdb_change_t memdb_change_array[] = {
 	{ .path = "ceph.conf" },
 	{ .path = "sdn.cfg" },
 	{ .path = "sdn.cfg.new" },
+	{ .path = "cpu-models.conf" },
 };
 
 static GMutex mutex;
-- 
2.20.1





More information about the pve-devel mailing list