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] [PATCH] Xen_OperatingSystem_setInstanceFromResource patch

To: "Jim Fehlig" <jfehlig@xxxxxxxxxx>
Subject: [Xen-cim] [PATCH] Xen_OperatingSystem_setInstanceFromResource patch
From: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Date: Tue, 19 Dec 2006 09:48:41 -0500
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 19 Dec 2006 06:49:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <94C8C9E8B25F564F95185BDA64AB05F60485338E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Accfx36+bCoUIa/QRlWs77Oet21jJgDKW4EQACLOYGA=
Thread-topic: [PATCH] Xen_OperatingSystem_setInstanceFromResource patch
After the new updates to compile witth Xen-3.0.4, I found that we still
could not enumerate Xen_OperatingSystem. The issue is that the pv_kernel
parameter is null. This patch does a sanity check to ensure that the
pv_kernel value is clean before it does anything. Also, it will not
fault if the pv_kernel path does not look like it expects it to be.
pv_kernel should not have been null, ut this initial patch will ensure
that the CIMOM does not croak on bad returns from libXen.

With this patch, I can enumerate Xen_OperatingSystem classes.

Raj

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim

<Prev in Thread] Current Thread [Next in Thread>