You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// VIR_DOMAIN_BLOCKED the domain is blocked on resource
137
+
// VIR_DOMAIN_PAUSED the domain is paused by user
138
+
// VIR_DOMAIN_SHUTDOWN the domain is being shut down
139
+
// VIR_DOMAIN_SHUTOFF the domain is shut off
140
+
// VIR_DOMAIN_CRASHED the domain is crashed
141
+
// VIR_DOMAIN_PMSUSPENDED the domain is suspended by guest power management
142
+
// VIR_DOMAIN_LAST this enum value will increase over time as new events are added to the libvirt API. It reflects the last state supported by this version of the libvirt API.
143
+
132
144
switchlibvirtState {
133
-
caselibvirt.DOMAIN_RUNNING:
145
+
// DOMAIN_SHUTDOWN technically means the VM is still running, but in the
146
+
// process of being shutdown, so we return state.Running
0 commit comments