Alex,<br><br>Thanks for reply. Here is the debugger info:<br><br><br>[root@XenTester su]# virt-install -p -d<br>Thu, 15 Mar 2012 10:04:04 DEBUG    Launched with command line:<br>/usr/bin/virt-install -p -d<br>Thu, 15 Mar 2012 10:04:04 DEBUG    Requesting libvirt URI default<br>
Thu, 15 Mar 2012 10:04:05 DEBUG    Received libvirt URI qemu:///system<br>Thu, 15 Mar 2012 10:04:05 DEBUG    Requesting virt method 'xen', hv type 'default'.<br>Thu, 15 Mar 2012 10:04:05 ERROR    Host does not support virtualization type 'xen' <br>
Thu, 15 Mar 2012 10:04:05 DEBUG    Traceback (most recent call last):<br>  File "/usr/bin/virt-install", line 274, in get_virt_type<br>    machine=options.machine)<br>  File "/usr/lib/python2.6/site-packages/virtinst/CapabilitiesParser.py", line 732, in guest_lookup<br>
    {'virttype' : osstr, 'arch' : archstr})<br>ValueError: Host does not support virtualization type 'xen'<br><br><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 9:57 AM, Alex Jia <span dir="ltr"><<a href="mailto:ajia@redhat.com">ajia@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Su,<br>
Could you attach your virt-install log file as a attachment?<br>
for example, log file is put in $HOME/.virtinst/virt-install.log.<br>
or using virt-install with -d option then paste debugger info<br>
in here.<br>
<br>
Regards & Thanks,<br>
Alex<br>
<div><div class="h5"><br>
<br>
<br>
----- Original Message -----<br>
From: "Su Zhang" <<a href="mailto:westlifezs@gmail.com">westlifezs@gmail.com</a>><br>
To: "Eric Blake" <<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>><br>
Cc: <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
Sent: Thursday, March 15, 2012 10:35:27 PM<br>
Subject: Re: [libvirt-users] Host does not support virtualization type 'xen'<br>
<br>
<br>
<br>
<br>
<br>
On Wed, Mar 14, 2012 at 12:30 PM, Eric Blake < <a href="mailto:eblake@redhat.com">eblake@redhat.com</a> > wrote:<br>
<br>
<br>
[please don't top-post on technical lists - I've reformatted my reply]<br>
<br>
<br>
On 03/14/2012 11:24 AM, Su Zhang wrote:<br>
<br>
<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>
<br>
<br>
> Thanks for your reply. Yet it seems that it does support Xen based on the<br>
> 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/" target="_blank">http://libvirt.org/</a><br>
><br>
> Compiled with support for:<br>
> Hypervisors: Xen QEmu/KVM UML OpenVZ VirtualBox LXC Test<br>
<br>
Good. The next step is determining which hypervisor you are connecting<br>
to by default:<br>
<br>
virsh uri<br>
<br>
If that isn't right (for example, if it returns qemu:///system), then<br>
you need to modify how you are calling virt-install to pass an explicit<br>
URI (or set LIBVIRT_DEFAULT_URI in your environment). Try 'virt-install<br>
-c xen:///' to force libvirt to talk to the xen hypervisor.<br>
<a href="http://libvirt.org/uri.html" target="_blank">http://libvirt.org/uri.html</a> gives more details on setting a URI.<br>
<br>
<br>
<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>
<br>
The issue hasn't been eliminated. Here is the running script:<br>
<br>
[root@XenTester su]# virt-install -p -c xen:///<br>
ERROR Host does not support virtualization type 'xen'<br>
[root@XenTester su]# virsh uri<br>
xen:///<br>
<br>
[root@XenTester su]#<br>
<br>
Any other possibilities?<br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
Su Zhang<br>
Ph.D Candidate<br>
Computing and Information Sciences<br>
Kansas State University<br>
<br>
</div>_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Su Zhang<br>Ph.D Candidate<br>Computing and Information Sciences<br>Kansas State University<br>