deepak@fluentsoft.com
2014-May-26 12:02 UTC
[libvirt-users] How to open virtual machine console using python libvirt.
Hi, How to open virtual machine console using python libvirt. I tried openConsole function,it returning integer 0 and not opening any console. code === import libvirt conn = libvirt.open('qemu+ssh://root@192.168.1.6/system') vm=conn.lookupByName("vm1-1") stream=onn.newStream(libvirt.VIR_STREAM_NONBLOCK) vm.openConsole(None,stream, 0) Regards, Deepak S ------------------------- Message sent via Atmail Open - http://atmail.org/
Reasonably Related Threads
- How do I close a console connection?
- How i can calculate cpu utilization percentage for domain running under a host using libvirt API.
- How i can calculate cpu utilization percentage for host using python libvirt API.
- Finally upgrading from v1.0.15 to v1.2.16 -- advice please
- Who's wrong, atmail or dovecot?