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/