I'm starting to use php-virt-control for my summer internship, so excuse my silly questions but I'm really struggling with this issue :

I used Xen Hypervisor 4.1 and try to control it with libvirt-php.
After installing php-virt-control, nothing appear on the main page : "No connection defined", but Domains are detected on "Domain list". On the "Information" page, I have everything right and had set the right "ISO image path".

That is a little disturbing but everything seems good.

My problem is when I want to create a new VM.
I'm using a normal iso of ubuntu 12.04 desktop i386, and have set a new setup disk image.

It give me the error : "internal error unexpected domain type kvm, expecting xen"
I've then modify the XML of ./classes/libvirt.php and replace kvm by xen on "<domain type=" by instinct.

A new error appear : "POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: device model '\n\n \n \n x86_64\n \n \n \n \n \n \n \n \n \n \n \n \n xenmigr\n \n \n \n\n \n xen\n \n 64\n /usr/lib/xen-default/bin/qemu-
dm\n xenpv\n \n \n \n \n\n \n xen\n \n 32\n /usr/lib/xen-default/bin/qemu-dm\n xenpv\n \n \n \n \n \n \n \n\n \n hvm\n \n 32\n /usr/lib/xen-default/bin/qemu-dm\n /usr/lib/xen-default/boot/hvmloader\n xenfv\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n hvm\n \n 64\n /usr/lib/xen-default/bin/qemu-dm\n /usr/lib/xen-default/boot/hvmloader\n xenfv\n \n \n \n \n \n \n \n \n \n \n\n\n' not found")"

Any ideas ?

Can we speak about it on an irc chan ?

Thank you for your help.