[Libvirt-cim] [PATCH 2/3] RASD: Schema and Provider Support for Controller RASDs

Boris Fiuczynski fiuczy at linux.vnet.ibm.com
Thu Mar 13 15:16:11 UTC 2014


Just revisiting the mof again.
I am aware what KVM supports regarding controllers nut does LXC really 
support controllers? Looking below at the mof... it apparently does! If 
it does not than the class LXC_ControllerResourceAllocationSettingData 
should be deleted!
Also I am not aware to what extend Xen supports controllers. Any ideas?

On 03/03/2014 08:38 AM, Xu Wang wrote:
> Signed-off-by: Xu Wang <gesaint at linux.vnet.ibm.com>
> ---
>   schema/ResourceAllocationSettingData.mof          |   27 +++++++++++++++++++++
>   schema/ResourceAllocationSettingData.registration |    3 ++
>   src/Virt_RASD.c                                   |   24 ++++++++++++++++++
>   3 files changed, 54 insertions(+), 0 deletions(-)
>
> diff --git a/schema/ResourceAllocationSettingData.mof b/schema/ResourceAllocationSettingData.mof
> index 6b649de..3512170 100644
> --- a/schema/ResourceAllocationSettingData.mof
> +++ b/schema/ResourceAllocationSettingData.mof
> @@ -328,6 +328,33 @@ class LXC_InputResourceAllocationSettingData : LXC_ResourceAllocationSettingData
>         string BusType;
>   };
>
> +[Description ("Xen virtual controller device"),
> + Provider("cmpi::Virt_RASD")
> +]
> +class Xen_ControllerResourceAllocationSettingData : Xen_ResourceAllocationSettingData
> +{
> +      string Type;
> +      string Model;
> +};
> +
> +[Description ("KVM virtual controller device"),
> + Provider("cmpi::Virt_RASD")
> +]
> +class KVM_ControllerResourceAllocationSettingData : KVM_ResourceAllocationSettingData
> +{
> +      string Type;
> +      string Model;
> +};
> +
> +[Description ("LXC virtual controller device"),
> + Provider("cmpi::Virt_RASD")
> +]
> +class LXC_ControllerResourceAllocationSettingData : LXC_ResourceAllocationSettingData
> +{
> +      string Type;
> +      string Model;
> +};
> +
>   [Description ("Xen virtual network pool settings"),
>    Provider("cmpi::Virt_RASD")
>   ]



-- 
Mit freundlichen Grüßen/Kind regards
    Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the Libvirt-cim mailing list