• Dan Hunsaker's avatar
    Add suspend/resume options to web UI CmdMenus · 5b613406
    Dan Hunsaker authored
    The PVE2 API supports suspend/resume of VMs (and now CTs), but the web UI
    doesn't make these options available.  This patch adds Suspend and Resume
    items to the CmdMenus of OpenVZ and QEMU guests.  I considered adding the
    options to the toolbar, but since it is already pretty full, I opted
    against doing so for the moment.  Perhaps the various startup options can
    be combined into a dropdown menu similar to how the console options are
    set up, and the various shutdown opitons combined into another.  That
    would provide the necesarry space to add the Suspend and Resume options
    there.
    
    This patch also provides descriptions for Suspend and Resume tasks in the
    task logs, bringing full suspend/resume support to the web GUI.
    Signed-off-by: 's avatarDan Hunsaker <danhunsaker@gmail.com>
    5b613406