[Libvirt-cim] [PATCH] [TEST] #2 Fix order XenFV args are passed to VirtCIM __init__()

Sharad Mishra snmishra at us.ibm.com
Fri Dec 18 17:52:46 UTC 2009



+1

Sharad Mishra
System x Enablement
Linux Technology Center
IBM


                                                                           
             Kaitlin Rupert                                                
             <kaitlin at linux.vn                                             
             et.ibm.com>                                                To 
             Sent by:                  libvirt-cim at redhat.com              
             libvirt-cim-bounc                                          cc 
             es at redhat.com                                                 
                                                                   Subject 
                                       [Libvirt-cim] [PATCH] [TEST] #2 Fix 
             12/17/2009 02:26          order XenFV args are passed to      
             PM                        VirtCIM __init__()                  
                                                                           
                                                                           
             Please respond to                                             
                 List for                                                  
              discussion and                                               
              development of                                               
                libvirt CIM                                                
             <libvirt-cim at redh                                             
                  at.com>                                                  
                                                                           
                                                                           




# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1260576721 28800
# Node ID 3a2a010a8f81ccbd933b8c8e5a87e9651160af18
# Parent  7bccba16845335df21d3d4e754c95d0905049da7
[TEST] #2 Fix order XenFV args are passed to VirtCIM __init__()

When the acip, pae, and acpi args were added, they were added in the wrong
order for XenFV guests.

Updates:
  -Remove unnecessary print statement

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r 7bccba168453 -r 3a2a010a8f81
suites/libvirt-cim/lib/XenKvmLib/vxml.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py         Fri Dec 11 16:12:01
2009 -0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py         Fri Dec 11 16:12:01
2009 -0800
@@ -955,7 +955,7 @@
             logger.error('Error: Disk image does not exist')
             sys.exit(1)
         VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus)
-        VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi,
apic,
+        VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, apic,
disk,
                          disk_file_path, ntype, net_name, mac, vcpus, mem,

                          mem_allocunits, emu_type, grstype, address,
                          is_ipv6_only, port_num,

_______________________________________________
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/20091218/ab9b620a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20091218/ab9b620a/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic05548.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20091218/ab9b620a/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20091218/ab9b620a/attachment-0002.gif>


More information about the Libvirt-cim mailing list