From 03f879fd856bc8523f75bd18ff4af1154e754ea5 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 31 Jul 2018 13:31:49 +0200 Subject: [PATCH] vmlist: document 'uptime' and 'cpus' returmn value --- PVE/API2/Qemu.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) 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}" } ],