Thanks for your reply. Yet it seems that it does support Xen based on the running script:<br><br>virsh --version=long<br>Virsh command line tool of libvirt 0.9.10<br>See web site at <a href="http://libvirt.org/">http://libvirt.org/</a><br>
<br>Compiled with support for:<br> Hypervisors: Xen QEmu/KVM UML OpenVZ VirtualBox LXC Test<br> Networking: Remote Daemon Network Bridging Nwfilter VirtualPort<br> Storage: Dir Filesystem SCSI Multipath iSCSI LVM<br> Miscellaneous: SELinux Secrets Debug<br>
<br><br>Do you think the output is normal? Or are there any other possible reasons for this error?<br><br><br>Thanks,<br><br><div class="gmail_quote">On Wed, Mar 14, 2012 at 12:15 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 03/14/2012 10:43 AM, Su Zhang wrote:<br>
> Hello Community,<br>
><br>
>  I successfully installed and run xen (xm list and xm info (but virt_caps<br>
> only has hvm) can output appropriately).<br>
>  However, while I was installing domU image by using virt-install -p at<br>
> domU OS. I encountered an<br>
> error information" Host does not support virtualization type 'xen' ".<br>
> I built xen from source. Some of my friends have the same issue, but if<br>
> they use pre-build xen, the issue will go away.<br>
> However, I want to insist in using my version of xen (build from source).<br>
> Does anyone can give any hint about this error?<br>
><br>
> I asked the same question at xen community and they said this is not a<br>
> issue from xen but libvirt. Meanwhile they told me I need to rebuild<br>
> libvirt to adapt my current version of Xen.<br>
><br>
> However, after I re-build xen (download, decompress, ./configure, make,<br>
> make install), the error is still there.<br>
> Can anyone let me know if I built the libvirt correctly? Do I need to do<br>
> anything specific to my current version (4.1.2) of Xen?<br>
<br>
</div>With your self-built libvirt, what does this say:<br>
virsh --version=long<br>
<br>
If it doesn't include 'Hypervisors: Xen', then you didn't have the<br>
prerequisite build dependencies in place when you built libvirt, so<br>
configure automatically disabled xen.  You may also want to check the<br>
tail of config.log, where it lists which options were auto-detected.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Su Zhang<br>Ph.D Candidate<br>Computing and Information Sciences<br>Kansas State University<br>