[Libvirt-cim] [PATCH 3/4] libxkutil: Provide easy access to the libvirt capabilities

John Ferlan jferlan at redhat.com
Fri Aug 23 20:54:36 UTC 2013


On 08/15/2013 10:48 AM, Viktor Mihajlovski wrote:
> From: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
> 
> Introspecting the libvirt capabilities and creating an internal capabilities
> data structure. Methods are provided for retrieving default values regarding
> architecture, machine and emulator for easy of use in the provider code.
> 
> Further, xml_parse_test was extendend to display hypervisor capabilities
> and defaults.
> 
> Signed-off-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
>  libxkutil/Makefile.am          |    2 +
>  libxkutil/capability_parsing.c |  462 ++++++++++++++++++++++++++++++++++++++++
>  libxkutil/capability_parsing.h |   93 ++++++++
>  libxkutil/xml_parse_test.c     |  134 +++++++++++-
>  4 files changed, 688 insertions(+), 3 deletions(-)
>  create mode 100644 libxkutil/capability_parsing.c
>  create mode 100644 libxkutil/capability_parsing.h
> 

Fixed my build issue - had to run autoconfiscate.sh and ./configure

I'm not a wiz when it comes to these Makefile and environmental things.
I know I've updated things since the last time I've initialized the
environment in my tree.

Not sure if there's a way to "automagically" make the environment reset,
but I wish it was more obvious why the failure occurred!

I'll dig into the code now :-)  I'm running tests while looking...

John




More information about the Libvirt-cim mailing list