[libvirt] Create domain using libvirt-php

Ali Raza Memon raza.memon at live.com
Wed Apr 4 13:44:41 UTC 2012


Hello...!

I want to create a new domain using libvirt-php, and after creating I want to start it. 
I have seen this to create new domain:

libvirt_domain_new($conn, $name, $arch, $memMB, $maxmemMB, $vcpus, $iso_image, $disks, $networks, $flags)

So in the above sysntax what should I pass in $iso_image? $disk? $networks and $flag??
Please give me a complete example that can solve my problem.
Thanks..

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120404/909dc139/attachment-0001.htm>


More information about the libvir-list mailing list