Re: [Users] Correct way to change graphics adapter?

Am 24.03.2014 23:20, schrieb Itamar Heim:> On 03/24/2014 08:04 AM, mad wrote:
What is the proper way to change the graphics adapter of a VM? I know that oVirt uses qemu and I know qemu configuration, but where in oVirt do I change it?
I found VDSM-Hooks/qemucmdline, but that can't be the correct way?
Can I change the qemu xml somewhere?
can you please explain the use case?
We have software developers who need VMs to test their software and for some test a display of 1280x1024 is necessary. The default cirrus graphics card is not good enough for that. But we have some VMs which use a Red Hat Virtual graphics adapter and we don't know how this happened or how it is configured. We just figured out that the difference may be connecting with SPICE or VNC. Is there a different way to change the grapics card permanently? Thanks, mad

On 03/25/2014 09:37 AM, mad wrote:
Am 24.03.2014 23:20, schrieb Itamar Heim:> On 03/24/2014 08:04 AM, mad wrote:
What is the proper way to change the graphics adapter of a VM? I know that oVirt uses qemu and I know qemu configuration, but where in oVirt do I change it?
I found VDSM-Hooks/qemucmdline, but that can't be the correct way?
Can I change the qemu xml somewhere?
can you please explain the use case?
We have software developers who need VMs to test their software and for some test a display of 1280x1024 is necessary. The default cirrus graphics card is not good enough for that.
But we have some VMs which use a Red Hat Virtual graphics adapter and we don't know how this happened or how it is configured.
We just figured out that the difference may be connecting with SPICE or VNC.
Is there a different way to change the grapics card permanently?
You just have to install the QXL drivers in your vm and connect via SPICE. I didn't test it in oVirt but in RHEV there's no need to change the graphics adapter, just install the QXL drivers, as guests fall back from QXL graphics card to standard VGA graphics card if the driver is missing. You can find the QXL drivers here: http://www.spice-space.org/download.html Regards, René
Thanks, mad _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, On Út, 2014-03-25 at 09:37 +0100, mad wrote:
Am 24.03.2014 23:20, schrieb Itamar Heim:> On 03/24/2014 08:04 AM, mad wrote:
What is the proper way to change the graphics adapter of a VM? I know that oVirt uses qemu and I know qemu configuration, but where in oVirt do I change it?
I found VDSM-Hooks/qemucmdline, but that can't be the correct way?
Can I change the qemu xml somewhere?
can you please explain the use case?
We have software developers who need VMs to test their software and for some test a display of 1280x1024 is necessary. The default cirrus graphics card is not good enough for that.
But we have some VMs which use a Red Hat Virtual graphics adapter and we don't know how this happened or how it is configured.
We just figured out that the difference may be connecting with SPICE or VNC.
Yes, the decision what virtual GPU to use is governed by VNC/SPICE checkbox. Spice is anyway better focused towards good UX for desktop workloads so what is your motivation to use VNC with sort of big screen size?
Is there a different way to change the grapics card permanently?
You could try custom hook before VM start that would replace cirrus device with qxl device(s). David CCing František who could add something
Thanks, mad _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 03/27/2014 10:16 AM, David Jaša wrote:
Hi,
On Út, 2014-03-25 at 09:37 +0100, mad wrote:
Am 24.03.2014 23:20, schrieb Itamar Heim:> On 03/24/2014 08:04 AM, mad wrote:
What is the proper way to change the graphics adapter of a VM? I know that oVirt uses qemu and I know qemu configuration, but where in oVirt do I change it?
I found VDSM-Hooks/qemucmdline, but that can't be the correct way?
Can I change the qemu xml somewhere?
can you please explain the use case?
We have software developers who need VMs to test their software and for some test a display of 1280x1024 is necessary. The default cirrus graphics card is not good enough for that.
But we have some VMs which use a Red Hat Virtual graphics adapter and we don't know how this happened or how it is configured.
We just figured out that the difference may be connecting with SPICE or VNC.
Yes, the decision what virtual GPU to use is governed by VNC/SPICE checkbox. Spice is anyway better focused towards good UX for desktop workloads so what is your motivation to use VNC with sort of big screen size?
Is there a different way to change the grapics card permanently?
You could try custom hook before VM start that would replace cirrus device with qxl device(s).
you can just change from vnc to spice and vice versa in the edit vm?
David
CCing František who could add something
Thanks, mad _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
David Jaša
-
Itamar Heim
-
mad
-
René Koch