what about 
*self.xml = self.virsh.dumpxml(vm_name=vm_name, extra='--update-cpu')*
?