[Libvirt-cim] [PATCH] Make RASD not dependent on ResourceType key

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Oct 30 11:21:22 UTC 2007


Dan Smith wrote:
> diff -r 82ff2daf1ddb -r 07b9be7502ef schema/KVM_ResourceAllocationSettingData.mof
> --- a/schema/KVM_ResourceAllocationSettingData.mof	Mon Oct 29 12:20:44 2007 +0100
> +++ b/schema/KVM_ResourceAllocationSettingData.mof	Mon Oct 29 09:06:05 2007 -0700
> @@ -1,9 +1,4 @@
>  // Copyright IBM Corp. 2007
>  class KVM_ResourceAllocationSettingData : CIM_ResourceAllocationSettingData {
>
> -      [Key,
> -        Description ("The type of allocated resource"),
> -        Override ("ResourceType")]
> -      uint16 ResourceType;
> -
>  };
> diff -r 82ff2daf1ddb -r 07b9be7502ef schema/Xen_ResourceAllocationSettingData.mof
> --- a/schema/Xen_ResourceAllocationSettingData.mof	Mon Oct 29 12:20:44 2007 +0100
> +++ b/schema/Xen_ResourceAllocationSettingData.mof	Mon Oct 29 09:06:05 2007 -0700
> @@ -1,9 +1,4 @@
>  // Copyright IBM Corp. 2007
>  class Xen_ResourceAllocationSettingData : CIM_ResourceAllocationSettingData {
>
> -      [Key,
> -	Description ("The type of allocated resource"),
> -	Override ("ResourceType")]
> -      uint16 ResourceType;
> -
>  };
>   
What is your intention behind defining 
Xen/KVM_ResourceAllocationSettingData in separate mof files and adding 
the additional registration script register_base.sh ? Especially the 
registration script introduces additional maintenance effort, while the 
registration process is already solved by provider_register.sh.

-- 
Regards

Heidi Eckhart
Software Engineer
Linux Technology Center - Open Hypervisor

heidieck at linux.vnet.ibm.com

**************************************************
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Herbert Kircher
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the Libvirt-cim mailing list