← Back to team overview

openstack team mailing list archive

Re: vga video setting for kvm/libvirt virtual machine on openstack folsom

 

Hi Daniel,

Thank you for this quick answer, spice could be a solution as the virtual appliance I plan to deploy (based on an iso livedvd) can use qxl video driver.

>Adding a hw_video_model=xxxxx image property would be a reasonable addition
>if you want to file a feature request, and/or supply a patch.
Unfortunatly as I am not a python dev, I 'm not able to correctly write a clean glance patch

Regards.

    -----oOo-----
 Jacques Landru
   mel:  landru~hat~telecom-lille.fr
   tel:  +33 (0)3 2033 5556
   fax:  +33 (0)3 2033 5598

 Telecom Lille
 Cite scientifique, rue G. Marconi, BP20145
 59653 VILLENEUVE D'ASCQ  Cedex
  web: http://www.telecom-lille.fr
  Tel: +33 (0)3 2033 5577 
  Fax: +33 (0)3 2033 5599 
    -----oOo-----



----- Mail original -----
De: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
À: "Jacques LANDRU" <landru@xxxxxxxxxxxxxxxx>
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Envoyé: Vendredi 19 Juillet 2013 11:41:22
Objet: Re: [Openstack] vga video setting for kvm/libvirt virtual machine on openstack folsom

On Fri, Jul 19, 2013 at 11:35:27AM +0200, Jacques LANDRU wrote:
> Hi all,
> 
> I didn't find solution, using google, so trying openstack mailing list. I hope, this is the good place to post.
> 
> I'm using Folsom with kvm/libvirt environment.
> 
> Is there a simple way to force video "-vga std" instead of "-vga cirrus" when launching a vm using nova boot command
> 
> As there is no more libvirt.template.xml, I didn't find how to set hardware properties for a virtual machine.
> 
> I saw I can set vif to e1000 when registering/updating an image in glance with "--property hw_vif_model=e1000".
> 
> Is there a hw_video equivalent property to set vga video characteristics ?

There is no facility to change the video card directly at this time. The
only time it will change is if you enable spice, in which case it'll use
qxl instead of cirrus.

Adding a hw_video_model=xxxxx image property would be a reasonable addition
if you want to file a feature request, and/or supply a patch.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


References