code: def suspend(self):
          
  
          vm_state = yield from self._get_vm_state()
          if vm_state == "running":
              yield from self._control_vm("pause")
              self.status = "suspended"
              log.info("VirtualBox VM '{name}' [{id}] suspended".format(name=self.name, id=self.id))
          else:
              log.warn("VirtualBox VM '{name}' [{id}] cannot be suspended, current state: {state}".format(name=self.name,
                                                                                                          id=self.id,
                                                                                                          state=vm_state))
docs: Suspends this VirtualBox VM.