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

Stefan Reiter s.reiter at proxmox.com
Thu Nov 21 15:53:41 CET 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 2057162..cdb80e4 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -65,6 +65,7 @@ my $observed = {
     'ceph.conf' => 1,
     'sdn.cfg' => 1,
     'sdn.cfg.new' => 1,
+    'cpu-models.conf' => 1,
 };
 
 sub base_dir {
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