[Libvirt-cim] [PATCH] [TEST] Move some functions from utils.py to xm_virt_util.py

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Nov 5 20:27:55 UTC 2008


>  >
>  > Oh, I see.  I had missed this before when we discussed what functions
>  > should be moved.  Any function that is run within the guest should also
>  > be moved.
>  >
>  > So the following should be moved to
>  > libvirt-cim/lib/XenKvmLib/xm_virt_util.p:
>  >
>  >   processors_count()
>  >   memory_count()
>  >   network_macs()
>  >
>  > I had originally thought these were running on the host, not within the
>  > guest.  Sorry for the confusion!
> 
>   I have moved below functions to xm_virt_util.py:
> 
>   processors_count()
>  memory_count()
>  network_macs()
>  run_remote_guest()
> 
> So far, this work item is done. I'm going to fix the test failure. 
> Thoughts?
> 
> Thanks

I have a minor comment on the last patch, but after that is fixed, I 
think this item is complete.

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




More information about the Libvirt-cim mailing list