[Libvirt-cim] [PATCH 0 of 5] KVM XML parsing and generation support

Heidi Eckhart heidieck at linux.vnet.ibm.com
Mon Jan 7 13:39:29 UTC 2008


Dan Smith wrote:
> This set adds most of the support we'll need for parsing and generating
> KVM domain XML.  It updates the xml_parse_test app for KVM and allows
> testing of generated xml.  I've tested with PV, FV, and KVM domains and
> it works for me.
>
> The next step after this will be making VSMS aware of how to create a
> KVM dominfo from RASDs, which will allow us to actually define a domain
> with DefineSystem for KVM.
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cimD
>   
When trying to compile I get the following error on my 32-bit machine:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DCMPI_VERSION=100 
-I/usr/local/include/cmpi -I/usr/local/include/libvirt 
-I/usr/include/libxml2 -I/usr/local/include/libcmpiutil -g -O2 
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 
-Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align 
-Wno-unused-value -Werror -c xml_parse_test.c
cc1: warnings being treated as errors
xml_parse_test.c: In function ‘print_u64’:
xml_parse_test.c:15: warning: format ‘%lu’ expects type ‘long unsigned 
int’, but argument 5 has type ‘uint64_t’
make[3]: *** [xml_parse_test.o] Error 1

I haven't seen that the print_u64() function was touched by these 
patches, so I don't want to say that they cause this error. But maybe 
this can be fixed as part of this patch series.
I I'm completely wrong with this scenario, then maybe my vacation was 
too long and I did a pretty ugly mistake when trying to compile ;).

-- 
Regards

Heidi Eckhart
Software Engineer
IBM Linux Technology Center - Open Hypervisor




More information about the Libvirt-cim mailing list