You will need to use same other tools to parse the output:

virsh --connect qemu:///system domstate UbuntuMATE1804

In case anyone is interested, I have uploaded the script I wrote based on your hints. It is here:

https://github.com/rdiez/Tools/blob/master/VirtualMachineManager/start-and-connect-to-vm.sh

Best regards,
  rdiez

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to