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

2014-11-13 Thread Gerry O'Brien
Hi Daniel,

  Thanks for the info. In general, do you know what the mapping is
between the XML 'model type' and the parameter that gets passed to KVM
via the -vga switch?

Regards,
Gerry



On 10/11/2014 18:04, Daniel Dehennin wrote:
 Gerry O'Brien ge...@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=devicesvideomodel 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.


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2014-11-13 Thread Daniel Dehennin
Gerry O'Brien ge...@scss.tcd.ie writes:

 Hi Daniel,

   Thanks for the info. In general, do you know what the mapping is
 between the XML 'model type' and the parameter that gets passed to KVM
 via the -vga switch?

I found it in the libvirt documentation[1].

Regards.

Footnotes: 
[1]  http://libvirt.org/formatdomain.html#elementsVideo

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2014-11-10 Thread Gerry O'Brien
Hi,

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?

Regards,
Gerry

-- 
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2014-11-10 Thread Daniel Dehennin
Gerry O'Brien ge...@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=devicesvideomodel 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


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org