Merge remote-tracking branch 'origin/pr/363'

* origin/pr/363:
  vm/adminvm: adjust exception raised by AdminVM.start()
This commit is contained in:
Marek Marczykowski-Górecki 2020-08-06 05:42:07 +02:00
commit 2a1e5a2af9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -196,7 +196,8 @@ class AdminVM(qubes.vm.BaseVM):
.. seealso:
:py:meth:`qubes.vm.qubesvm.QubesVM.start`
''' # pylint: disable=unused-argument,arguments-differ
raise qubes.exc.QubesVMError(self, 'Cannot start Dom0 fake domain!')
raise qubes.exc.QubesVMNotHaltedError(
self, 'Cannot start Dom0 fake domain!')
def suspend(self):
'''Does nothing.