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: Mon, 18 Dec 2006 17:12:36 -0500
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 18 Dec 2006 14:13:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4581C226.2020501@xxxxxxxxxx>
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/QRlWs77Oet21jJgDKW4EQ
Thread-topic: [PATCH] Xen_OperatingSystem_setInstanceFromResource patch
Xen_OperatingSystem_setInstanceFromResource was crashing when the kernel
path from libXen didn't look like it expected. This bug ensures that a
faulty path will not crash the function.

I found out that libxen was returning a blank string for the kernel path
for Dom0. I am going to look into it further. But this patch will ensure
that the CIMOM will not fault if libxen returns an unexpected path. 

With this patch, I can enumerate Xen_OperatingSystem classes.

Raj

Attachment: Xen_OperatingSystem.patch
Description: Xen_OperatingSystem.patch

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