mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Avoid crash caused by power management suspension where fog fails to translate domain state pmsuspended. Changed the driver.state() function so that it does not crash on undefined domain state. Just return nil :unknown instead. Added unittests and made existing more general. Closes #1472