code: def set_idlepc(self, idlepc):
          
  
          if not idlepc:
              idlepc = "0x0"
  
          is_running = yield from self.is_running()
          if not is_running:
              # router is not running
              yield from self._hypervisor.send('vm set_idle_pc "{name}" {idlepc}'.format(name=self._name, idlepc=idlepc))
          else:
              yield from self._hypervisor.send('vm set_idle_pc_online "{name}" 0 {idlepc}'.format(name=self._name, idlepc=idlepc))
  
          log.info('Router "{name}" [{id}]: idle-PC set to {idlepc}'.format(name=self._name, id=self._id, idlepc=idlepc))
          self._idlepc = idlepc
docs: Sets the idle Pointer Counter (PC)
  
          :param idlepc: idlepc value (string)