Commits

Denis Bilenko committed 6e6e7a3

virtualbox.py: do restore state if it was "saved" initially

Comments (0)

Files changed (1)

util/virtualbox.py

     def stop(self):
         if self.initial_state == 'paused':
             self.pause()
+        elif self.initial_state == 'saved':
+            self.restore()
         elif self.initial_state != 'running':
             self.poweroff()