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

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Dec 17 22:26:03 UTC 2009


# 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, 




More information about the Libvirt-cim mailing list