You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defvm_is_running(self: "PyMemuc", vm_index: int=0) ->bool:
"""Check if a VM is running :param vm_index: VM index. Defaults to 0. :type vm_index: int, optional :return: True if the VM is running, False otherwise :rtype: bool """_, output=self.memuc_run(["-i", str(vm_index), "isvmrunning"])
if'Not Running'inoutput: returnFalseelse: returnTrue
The text was updated successfully, but these errors were encountered:
function vm_is_running is not working
i fix it:
The text was updated successfully, but these errors were encountered: