diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 655f5145..614f2391 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -399,6 +399,17 @@ __PACKAGE__->register_method({ type => 'integer', optional => 1, }, + uptime => { + description => "Uptime.", + type => 'integer', + optional => 1, + renderer => 'duration', + }, + cpus => { + description => "Maximum usable CPUs.", + type => 'number', + optional => 1, + }, }, }, links => [ { rel => 'child', href => "{vmid}" } ],