Displaying 1 result from an estimated 1 matches for "dom0_class".
2011 May 12
3
libvirt connection timeout
...w to use it. I did not find any example on the net.
?
I tried this but I get a segmentation fault:?:-(
import libvirt
def timeout_cb_d():
? ? print 'Timeout !'
try:
? ? # try to set the libvirt timeout to 2 seconds:
? ? t = libvirt.eventInvokeTimeoutCallback(2, timeout_cb_d, "from dom0_class")
except:
? ? ...
Does anyone can give me a working example please?
?
?
Antoine Coetsier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110512/ac982f17/attachment.htm>