WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

[Xen-cim] Xen_HostedComputerSystem and miscellanous patch

To: <xen-cim@xxxxxxxxxxxxxxxxxxx>, "Jim Fehlig" <jfehlig@xxxxxxxxxx>
Subject: [Xen-cim] Xen_HostedComputerSystem and miscellanous patch
From: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Date: Wed, 17 May 2006 16:34:51 -0400
Delivery-date: Wed, 17 May 2006 13:35:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZ5QvmkhVhpjucqRcOYzc3zjpCX1gAq/Hpw
Thread-topic: Xen_HostedComputerSystem and miscellanous patch
This patch contains the following changes
- Changes Xen_ComputerSystem.mof to inherit from CIM_ComputerSystem
rather than CIM_VirtualComputerSystem
- Changes Xen_HostedComputerSystem.mof to make the antecedent
CIM_ComputerSystem, rather than Linux_ComputerSystem
- Changes Xen_HostedComputerSystem.c to 
        - Decide the targetclass by using CMClassNameIsA rather than
strcmp
        - Eliminate the Xen_ComputerSystem from the classes returned
from the CIMOM. I did this by returning only those classes that do not
match the source class rather than returning the class that exactly
match the target class
Raj

Attachment: patch.diff
Description: patch.diff

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
<Prev in Thread] Current Thread [Next in Thread>