<p>Seems like an attribute that could be added to instance types / flavors that could be passed on to the scheduler and virt layers.</p>
<p>Nate</p>
<div class="gmail_quote">On Jun 21, 2012 2:12 PM, "Daniel P. Berrange" <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jun 22, 2012 at 12:17:11AM +0800, Huang Zhiteng wrote:<br>
> Of course it is possible.  What kind of issue did you run into?<br>
><br>
> On Thu, Jun 21, 2012 at 5:52 PM, Wang Li <<a href="mailto:foxban@gmail.com">foxban@gmail.com</a>> wrote:<br>
> > hi,all<br>
> ><br>
> > I need to run virtual machines on Xen Hypervisor in HVM mode,<br>
> > is it possible when using libvirt?<br>
<br>
Actually, this is not currently possible. For reasons I don't<br>
know, the libvirt driver currently hardcodes use of paravirtualized<br>
guests when connected to Xen hosts. It does not allow use of HVM<br>
guests.  There's no particularly good technical reason why it can't<br>
be made to work. There'd need to be a way to tag instance types<br>
with HVM vs paravirt, in addition to their architecture. The<br>
libvirt driver would have to expose whether each host supports<br>
paravirt or HVM or both. The schedular would then have to take<br>
this into account when placing guests.<br>
<br>
Until this is done, if you really need to run HVM guests, then<br>
you'll have to use KVM  instead of Xen.<br>
<br>
Regards,<br>
Daniel<br>
--<br>
|: <a href="http://berrange.com" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/~danberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div>