[pve-devel] [PATCH cluster v4 1/1] add cfg files for resource mapping
Dominik Csapak
d.csapak at proxmox.com
Thu May 25 12:17:43 CEST 2023
resource/pci.cfg and
resource/usb.cfg
to PVE/Cluster.pm
and status.c
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/PVE/Cluster.pm | 2 ++
src/pmxcfs/status.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/PVE/Cluster.pm b/src/PVE/Cluster.pm
index efca58f..05f84bf 100644
--- a/src/PVE/Cluster.pm
+++ b/src/PVE/Cluster.pm
@@ -78,6 +78,8 @@ my $observed = {
'sdn/dns.cfg' => 1,
'sdn/.running-config' => 1,
'virtual-guest/cpu-models.conf' => 1,
+ 'resource/pci.cfg' => 1,
+ 'resource/usb.cfg' => 1,
};
sub prepare_observed_file_basedirs {
diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c
index 8d62986..77ed968 100644
--- a/src/pmxcfs/status.c
+++ b/src/pmxcfs/status.c
@@ -108,6 +108,8 @@ static memdb_change_t memdb_change_array[] = {
{ .path = "sdn/.running-config" },
{ .path = "virtual-guest/cpu-models.conf" },
{ .path = "firewall/cluster.fw" },
+ { .path = "resource/pci.cfg" },
+ { .path = "resource/usb.cfg" },
};
static GMutex mutex;
--
2.30.2
More information about the pve-devel
mailing list