[Libvirt-cim] [PATCH 2 of 5] Make HostedResourcePool work from root/cimv2 and register it there

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Nov 4 20:36:47 UTC 2008


> diff -r e6f0f20c357e -r 39f290b8978e base_schema/install_base_schema.sh.in
> --- a/base_schema/install_base_schema.sh.in	Tue Nov 04 07:14:06 2008 -0800
> +++ b/base_schema/install_base_schema.sh.in	Tue Nov 04 10:59:14 2008 -0800
> @@ -22,6 +22,8 @@
>  fix_schema() {
>      (cd ${TMPDIR} && patch -p0 < ${DATA}/fix_schema.patch)
>      cp -a ${DATA}/cimv216-interop_mof ${TMPDIR}/cimv216-interop.mof
> +    cp -a ${DATA}/cimv216-cimv2_mof ${TMPDIR}/cimv216-cimv2.mof
> +
>  }
> 
>  detect_peg_repo() {
> @@ -72,6 +74,7 @@
>      cimmofl -uc -aEV -R$repo -n $NS qualifiers.mof
>      cimmofl -uc -aEV -R$repo -n $NS qualifiers_optional.mof
>      cimmofl -uc -aEV -R$repo -n /root/interop cimv???-interop.mof
> +    cimmofl -uc -aEV -R$repo -n /root/interop cimv???-cimv2.mof

The namespace should be /root/cimv2, not /root/interop.

Also, I had to add the following line prior to this addition:

cimmofl -uc -aEV -R$repo -n /root/cimv2 qualifiers.mof

Otherwise, I get an error complaining the "Experimental" qualifier isn't 
available in the cimv2 namespace.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list