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

Tento commit je obsažen v:
Marek Marczykowski-Górecki 2017-10-04 15:26:57 +02:00
rodič 559cc9b0d6
revize 98e39ca63b
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 063938BA42CFA724

Zobrazit soubor

@ -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.