[pve-devel] [PATCH qemu-server v3 1/4] api: add missing index child links

Dominik Csapak d.csapak at proxmox.com
Fri Sep 6 14:24:05 CEST 2019


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v2:
* now 1/4
* does not include reboot (this comes in the api patch)
 PVE/API2/Qemu.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 245de80..9db8967 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -1907,6 +1907,9 @@ __PACKAGE__->register_method({
 	    { subdir => 'current' },
 	    { subdir => 'start' },
 	    { subdir => 'stop' },
+	    { subdir => 'reset' },
+	    { subdir => 'shutdown' },
+	    { subdir => 'suspend' },
 	    ];
 
 	return $res;
-- 
2.20.1





More information about the pve-devel mailing list