> > ---
> > src/esx/esx_vi_types.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
> > src/esx/esx_vi_types.h | 3 ++-
> > 2 files changed, 50 insertions(+), 1 deletion(-)
>
> Looks good on a quick view, but I wonder what are you trying to that
> requires to serialize an AnyType directly instead of the specific
> types?

Some of the variables contains "anytype" variables that are needed during serialization time such as: "extraConfig" field of "VirtualMachineConfigSpec" or "ArrayUpdateSpec". I found that without providing serialize method even compilation does not work. 
> --
> Matthias Bolte
> http://photron.blogspot.com