fog / fog-libvirt

libvirt provider for fog
MIT License
16 stars 42 forks source link

Add 'pmsuspended' to possible virtual machine states. #103

Closed abbbi closed 2 years ago

abbbi commented 2 years ago

In case a virtual machine goes in to libvirt mode pmsuspended, situation is not handled by fog-libvirt currently. This leads to issues in other projects like vagrant-libvirt. Suspend mode can be either the case if domain is set into suspend (by for example systemctl suspend) or hypervisor sets VM into suspended mode due to lack of resources.

Full discussion:

vagrant-libvirt/vagrant-libvirt#1200

Patch adds the state to possible virtual machine states.