On 05/28/2013 09:47 PM, liyangfnst wrote:
> Err..virsh.dumpxml() is defined like this:
> def dumpxml(name, to_file="", **dargs):
> 
> It doesn't contain 'extra'. And modifiy it to dumpxml(name, extra=='', to_file="", **dargs): maybe make a large effec


Perhaps <code>dumpxml(name, to_file='', extra='', **dargs)</code> would
not break too many things.

Another idea is just add new function,
<code>virsh.dumpxml_updcpu()</code> could work also.