vm: drop suspend and resume methods - not part of the Admin API

This commit is contained in:
Marek Marczykowski-Górecki 2017-10-04 15:26:57 +02:00
parent 559cc9b0d6
commit 98e39ca63b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -138,29 +138,6 @@ class QubesVM(qubesadmin.base.PropertyHolder):
'''
self.qubesd_call(self._method_dest, 'admin.vm.Unpause')
def suspend(self):
'''
Suspend domain.
Give domain a chance to prepare for suspend - for example suspend
used PCI devices.
:return:
'''
raise NotImplementedError
#self.qubesd_call(self._method_dest, 'admin.vm.Suspend')
def resume(self):
'''
Resume domain.
Opposite to :py:meth:`suspend`.
:return:
'''
raise NotImplementedError
#self.qubesd_call(self._method_dest, 'admin.vm.Resume')
def get_power_state(self):
'''Return power state description string.