Re: [Users] Correct way to change graphics adapter?
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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Correct way to change graphics adapter?
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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Correct way to change graphics adapter?
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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Correct way to change graphics adapter?
Hi, 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? TIA mad ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Correct way to change graphics adapter?
On 03/24/2014 01:04 PM, mad wrote: Hi, 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? The before_vm_start hook should be the one you'd like to handle This will give you the ability to modify the passed XML and VDSM will use the returned one. Can I change the qemu xml somewhere? TIA mad ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Correct way to change graphics adapter?
On 03/24/2014 08:04 AM, mad wrote: Hi, 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? TIA mad ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users can you please explain the use case? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users