[Libvirt-cim] [PATCH] [TEST] Fix proc InstanceID in vsms.py

Guo Lian Yun yunguol at cn.ibm.com
Mon Jun 16 06:26:44 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-06-11 11:26:52:

> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1213153446 25200
> # Node ID 00ed91b75fd62cdcdcfb51c403646118edb91c54
> # Parent  58f7c9cf54677356b88b30e2b5a5db9685a15604
> [TEST] Fix proc InstanceID in vsms.py
> 
> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
> 
> diff -r 58f7c9cf5467 -r 00ed91b75fd6 
suites/libvirt-cim/lib/XenKvmLib/vsms.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py   Tue Jun 10 11:04:312008 
-0700
> +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py   Tue Jun 10 20:04:062008 
-0700
> @@ -183,7 +183,7 @@
>              self.VirtualQuantity = vcpu
> 
>          if name != None:
> -            self.InstanceID = '%s/0' % name
> +            self.InstanceID = '%s/proc' % name

  +1 from me =)
> 
>  class 
> 
Xen_ProcResourceAllocationSettingData(CIM_ProcResourceAllocationSettingData):
>      pass
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080616/96456708/attachment.htm>


More information about the Libvirt-cim mailing list