[pve-devel] [PATCH manager 5/7] api: capabilities: register module for VM CPU flags
Fiona Ebner
f.ebner at proxmox.com
Fri Oct 31 13:27:41 CET 2025
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
Depends and build-depends on new qemu-server!
PVE/API2/Capabilities.pm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/PVE/API2/Capabilities.pm b/PVE/API2/Capabilities.pm
index d45c548e..a027142b 100644
--- a/PVE/API2/Capabilities.pm
+++ b/PVE/API2/Capabilities.pm
@@ -7,6 +7,7 @@ use PVE::JSONSchema qw(get_standard_option);
use PVE::RESTHandler;
use PVE::API2::Qemu::CPU;
+use PVE::API2::Qemu::CPUFlags;
use PVE::API2::Qemu::Machine;
use PVE::API2::NodeCapabilities::Qemu::Migration;
@@ -17,6 +18,11 @@ __PACKAGE__->register_method({
path => 'qemu/cpu',
});
+__PACKAGE__->register_method({
+ subclass => "PVE::API2::Qemu::CPUFlags",
+ path => 'qemu/cpu-flags',
+});
+
__PACKAGE__->register_method({
subclass => "PVE::API2::Qemu::Machine",
path => 'qemu/machines',
--
2.47.3
More information about the pve-devel
mailing list