]> git.proxmox.com Git - pve-cluster.git/commit
cluster: add get_guest_config_properties
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 16 Nov 2022 15:47:56 +0000 (16:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Nov 2022 09:02:13 +0000 (10:02 +0100)
commit3e9a2ecb1aacff3dff57cf170b39204375a9f670
tree0a9e570f37b4360837cfa277f2a5e37cb428e612
parent73a318239137fb70a13cb8aa7d0a92e13d50ebf8
cluster: add get_guest_config_properties

Akin to the singular get_guest_config_property, but with the
possibility to query a list of properties.

Uses the CFS_IPC_GET_GUEST_CONFIG_PROPERTIES introduced in the
previous patch.

Note that the same details apply w.r.t. parsing and permissions as
the singular variant, iow. one needs to take caution and filter
allowed guests views  on call site when using this.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [T: reword/extend commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm