Signed-off-by: Stefan Reiter <s.rei...@proxmox.com> --- Depends on updated qemu-server.
PVE/API2/Nodes.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index 58497b2b..2ac838ea 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2/Nodes.pm @@ -34,6 +34,7 @@ use PVE::API2::Tasks; use PVE::API2::Scan; use PVE::API2::Storage::Status; use PVE::API2::Qemu; +use PVE::API2::Qemu::CPU; use PVE::API2::LXC; use PVE::API2::LXC::Status; use PVE::API2::VZDump; @@ -65,6 +66,11 @@ __PACKAGE__->register_method ({ path => 'qemu', }); +__PACKAGE__->register_method ({ + subclass => "PVE::API2::Qemu::CPU", + path => 'cpu', +}); + __PACKAGE__->register_method ({ subclass => "PVE::API2::LXC", path => 'lxc', @@ -241,6 +247,7 @@ __PACKAGE__->register_method ({ { name => 'certificates' }, { name => 'config' }, { name => 'hosts' }, + { name => 'cpu' }, ]; push @$result, { name => 'sdn' } if $have_sdn; -- 2.26.2 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel