cockpit-project / cockpit-machines

Cockpit UI for virtual machines
GNU Lesser General Public License v2.1
293 stars 75 forks source link

Wake from "Suspended (PM)" state #42

Closed serverwentdown closed 11 months ago

serverwentdown commented 3 years ago

Page: Machines

Implement a button to wake from "Suspended (PM)" state. Equivalent to virsh dompmwakeup <domain>.

screenshot of Machines page. there is no button to wake from suspended state
serverwentdown commented 3 years ago

I might consider working on this, should be a pretty simple addition.

KKoukiou commented 3 years ago

I might consider working on this, should be a pretty simple addition.

It's indeed pretty straightforward. If you decide to work on it you can take a look as a starting point the Resume operation, see https://github.com/cockpit-project/cockpit/blob/master/pkg/machines/components/vm/vmActions.jsx#L155

KKoukiou commented 11 months ago

THere is a resume button.