[pve-devel] [PATCH qemu-server v2 4/5] qm: add reboot command

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Sep 5 12:04:19 CEST 2019


On 23.08.19 10:55, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  PVE/CLI/qm.pm | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm
> index f9b0fd7..0e8475e 100755
> --- a/PVE/CLI/qm.pm
> +++ b/PVE/CLI/qm.pm
> @@ -999,6 +999,8 @@ our $cmddef = {
>  
>      shutdown => [ "PVE::API2::Qemu", 'vm_shutdown', ['vmid'], { node => $nodename }, $upid_exit ],
>  
> +    reboot => [ "PVE::API2::Qemu", 'vm_reboot', ['vmid'], { node => $nodename }, $upid_exit ],
> +
>      suspend => [ "PVE::API2::Qemu", 'vm_suspend', ['vmid'], { node => $nodename }, $upid_exit ],
>  
>      resume => [ "PVE::API2::Qemu", 'vm_resume', ['vmid'], { node => $nodename }, $upid_exit ],
> 

I'd just merge this with the api patch 3/5, but whatever you prefer.




More information about the pve-devel mailing list