Loading ccnode/libvirtwrapper.py +6 −0 Changes for ccnode/libvirtwrapper.py: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -173,10 +173,16 @@ class LibvirtVm(VM): raise VMError('%s is already running !' % self.get_name()) def suspend(self): try: self._domain.suspend() except libvirt.libvirtError: raise VMError('%s is not running !' % self.get_name()) def resume(self): try: self._domain.resume() except libvirt.libvirtError: raise VMError('%s is not running !' % self.get_name()) def get_uuid(self): ''' Loading Loading
ccnode/libvirtwrapper.py +6 −0 Changes for ccnode/libvirtwrapper.py: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -173,10 +173,16 @@ class LibvirtVm(VM): raise VMError('%s is already running !' % self.get_name()) def suspend(self): try: self._domain.suspend() except libvirt.libvirtError: raise VMError('%s is not running !' % self.get_name()) def resume(self): try: self._domain.resume() except libvirt.libvirtError: raise VMError('%s is not running !' % self.get_name()) def get_uuid(self): ''' Loading