[libvirt] [PATCH] esx: Fix dynamic dispatch for types with more than one level of inheritance