[libvirt] [PATCH] esx: Fix dynamic dispatch for CastFromAnyType functions

Matthias Bolte matthias.bolte at googlemail.com
Mon Apr 25 11:32:43 UTC 2011


2011/4/25 Matthias Bolte <matthias.bolte at googlemail.com>:
> This was broken by the refactoring in ac1e6586ec75. It resulted in a
> segfault for 'virsh vol-dumpxml' and related volume functions.
>

Actually that patch doesn't fix the problem correctly. It just turns
the segfault into an error message.

Here's v2 that really fixes the problem. Note the important difference
between anyType->_type and anyType->type :)

Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-esx-Fix-dynamic-dispatch-for-CastFromAnyType-functio.patch
Type: text/x-patch
Size: 3576 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110425/bcdb4ea1/attachment-0001.bin>


More information about the libvir-list mailing list