[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-cim] [PATCH] Xen_OperatingSystem_setInstanceFromResource patch


  • To: "Jim Fehlig" <jfehlig@xxxxxxxxxx>
  • 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
  • List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.