[Libvirt-cim] [PATCH 1 of 4] [TEST] Modifying pool.py to accomodate changes for diskpool

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed May 27 19:54:27 UTC 2009


Deepti B. Kalakeri wrote:
> # HG changeset patch
> # User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
> # Date 1243320943 25200
> # Node ID ecdbd16fefe8d7bdf82f85a74d66a312ab1c52e0
> # Parent  46291354b6916236a239356a475c6e6038c8e1c5
> [TEST] Modifying pool.py to accomodate changes for diskpool.
> 
> Tested with KVM on F10 and with current sources.
> Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
> 
> diff -r 46291354b691 -r ecdbd16fefe8 suites/libvirt-cim/lib/XenKvmLib/pool.py

This patch fails to apply for me.

$ hg qpush
applying pool.patch
patching file suites/libvirt-cim/lib/XenKvmLib/pool.py
Hunk #5 FAILED at 198
1 out of 5 hunks FAILED -- saving rejects to file 
suites/libvirt-cim/lib/XenKvmLib/pool.py.rej


> @@ -183,75 +199,91 @@

Looks like this is the offending hunk.  Can you rebase on updated sources?

>                  logger.error("Unexpected rc code %s and description %s\n",
>                               err_no, desc)
>                  return FAIL
> +
>      elif curr_cim_rev >= libvirt_cim_child_pool_rev: 
> -        n_list = net_list(server, virt)
> -        for _net_name in n_list:
> -            net_xml = NetXML(server=server, networkname=_net_name, 


-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list