Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Domain do not set vm state during shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkin committed Jun 20, 2017
1 parent 2697653 commit 5f3796c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qubesdbus/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ def Shutdown(self):
app = qubesadmin.Qubes()
name = str(self.name)
vm = app.domains[name]
vm.shutdown(wait=True)
self.properties['state'] = 'halted'
vm.shutdown()
return True

@dbus.service.method("org.qubes.Domain", out_signature="b")
Expand Down

0 comments on commit 5f3796c

Please sign in to comment.