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

RE: [Xen-cim] [PATCH] Xen_OperatingSystem_setInstanceFromResourcepatch

To: "Jim Fehlig" <jfehlig@xxxxxxxxxx>
Subject: RE: [Xen-cim] [PATCH] Xen_OperatingSystem_setInstanceFromResourcepatch
From: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Date: Tue, 19 Dec 2006 12:02:51 -0500
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 19 Dec 2006 09:02:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45881325.20200@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: Accji0+5XHUx6WwyRH+e3LSFel5b3QAA7cWQ
Thread-topic: [Xen-cim] [PATCH] Xen_OperatingSystem_setInstanceFromResourcepatch
> 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.
Yes. I basically checked pv_kernel before the rindex call was made. This
is a very straightforward, 'don't play with null pointers' patch. 
And the patch is attached this time :-)
Raj

Attachment: Xen_OperatingSystem.patch
Description: Xen_OperatingSystem.patch

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