<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><font face="Verdana" size="2">Hi,</font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2">I'm a newbie to Libvirt, i want to know if i can change the vm definition xml dynamically. like change cpu, network value.</font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2">I found the hook in Libvirt, and i can get the xml from standard input. but i change it and out put to standard output, it no effect. </font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2">I was try to execute “virsh define” shell command in python script on hook, but it was blocked and unabled to execute another Libvirt command.</font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2">Is there create vm hook in Libvirt?</font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2">Any help is appreciated.</font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2"> </font></div><div><font face="Verdana" size="2">Regards,</font></div></body></html>