]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Fix dynamic dispatch for types with more than one level of inheritance
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 6 Oct 2012 16:30:45 +0000 (18:30 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 9 Oct 2012 21:02:39 +0000 (23:02 +0200)
commit69037428d74cd04485621269e1042b893d7ed50b
tree82138680cb5b91a3d7693a0b7ef5d7e59d4c3d44
parentba96d277b0e0c49436649b6f9f235e05a01e6c50
esx: Fix dynamic dispatch for types with more than one level of inheritance

Traverse the whole inheritance hierarchy for dynamic dispatch as it is
already done for the dynamic cast.

Also make AnyType cast errors more verbose.

Reported by Ata Bohra.
src/esx/esx_vi_generator.py
src/esx/esx_vi_types.c