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

Re: [Xen-cim] [PATCH] Xen_OperatingSystem_setInstanceFromResource patch



Subrahmanian, Raj wrote:
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

Need the patch :-).  The previous one is against pre-3.0.4.

I'm assuming you took care of the case where pv_kernel is null - which will always be the case if bootloader is used or guest is HVM. We'll have to think about how to deal with the Xen_OperatingSystem class in these cases. The assumption that property OSType == Linux will have to be fixed as well.

Jim


_______________________________________________
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®.