[one-users] How do you change the '-vga cirrus' option on KVM

Daniel Dehennin daniel.dehennin at baby-gnu.org
Mon Nov 10 10:04:25 PST 2014


Gerry O'Brien <gerry at scss.tcd.ie> writes:

> Hi,

Hello,

>     How do you change the '-vga cirrus' option for KVM to something
> else, e.g. '-vga std'? Is it done via the RAW data in the template?

That's how I do it:

    RAW=[TYPE="kvm",DATA="<devices><video><model type=\"vga\" heads=\"1\"></model></video></devices>"]

It could be interesting to be able to select it in the template:

1. provide a default in /etc/one/vmm_exec/vmm_exec_kvm.conf (cirrus for example)
2. if graphics is “SPICE”, set the card to “qxl” in the template
2. user can override the card type for this template

If you define the RAW DATA in /etc/one/vmm_exec/vmm_exec_kvm.conf, then
you can not override it in the template because RAW are concatenated.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 342 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141110/4690baf8/attachment.pgp>


More information about the Users mailing list