Re: [libvirt] ESX driver connection private data fix

2012-04-21 Thread Matthias Bolte
Am 5. April 2012 00:22 schrieb ryan woodsmall rwoodsm...@gmail.com: Hi, first time poster, my apologies if this is not the correct avenue. Since release 0.9.11, I've been getting a segfault in virsh attempting to access an ESXi 4.1 host. GDB reports it as such: ** Program received signal

[libvirt] [PATCH] win32: Properly handle TlsGetValue returning NULL

2012-04-21 Thread Matthias Bolte
virThreadSelf tries to access the virThreadPtr stored in TLS for the current thread via TlsGetValue. When virThreadSelf is called on a thread that was not created via virThreadCreate (e.g. the main thread) then TlsGetValue returns NULL as TlsAlloc initializes TLS slots to NULL. virThreadSelf can

Re: [libvirt] [PATCH] win32: Properly handle TlsGetValue returning NULL

2012-04-21 Thread Eric Blake
On 04/21/2012 11:11 AM, Matthias Bolte wrote: virThreadSelf tries to access the virThreadPtr stored in TLS for the current thread via TlsGetValue. When virThreadSelf is called on a thread that was not created via virThreadCreate (e.g. the main thread) then TlsGetValue returns NULL as TlsAlloc

Re: [libvirt] Python binding APIs strict or loose

2012-04-21 Thread Eric Blake
On 04/20/2012 04:23 AM, Guannan Ren wrote: Hi There is a question. we need strict python binding API or loose one. For example: The setSchedulerParameters(), it accepts one of parameters: 'vcpu_quota' In C