Is it possible to disable qxl video?

Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,. *********************************************************** Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany ***********************************************************

Adding spice-list. Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 7692306 8272306 Email: ydary@redhat.com IRC : ydary On Mon, Jul 4, 2016 at 12:52 PM, Arman Khalatyan <arm2arm@gmail.com> wrote:
Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,.
***********************************************************
Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany
***********************************************************
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--UlxN1C6awaFNesUv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable
On Mon, Jul 4, 2016 at 12:52 PM, Arman Khalatyan <arm2arm@gmail.com> wrot= e: =20
Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,.
On Tue, Jul 05, 2016 at 03:25:26PM +0300, Yaniv Dary wrote:
Adding spice-list.
If this is a VM configuration question ("How do I remove the QXL video device from the VM definition"), this is something for ovirt people to answer. If the QXL device is not present in the VM definition, it should not matter whether the QXL drivers are installed in the VM or not. Christophe --UlxN1C6awaFNesUv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJXfhlRAAoJEKnYwhQprGyC3rQP/0MgZK2bVMcAC/+rm/6dQVG3 64anT1uha/HIRzyoZhjr8iV4tQLaXod9zXNjcgMCMRuvnvpGqx+Kgc2fcKMgIpLy KH7b2h2PTCvfM5vDhW5smf0cCZGnbWxwYIdVhM7GuJrYk3XLtyutVyD5CvMOnWkP U/YvKAjmMAjEGI4bjtKFeRYDcujJTS1cJn4DTIq0LoHv09G6J/hNI0fyxRWOKnsr X13XVzXo03D/hDFcF5SI0Y9BRQgUHhkHzkL31yPhQVKw6MVXgt0QxJz9a0Q3ITGl tKp3EluIASN+9B2EDQ6eTdbes/KWu5N1iQI1leDaIWRr0URqVLM8kxiAtw/nmfKu 1wk58H0acaKpQIpHlYOEo+lEIvyguCeL8ydUHCAcNcrk+WTn/eT/CUhMopQ5HK0v 7eYVba5c87jqjb2ZmzBFzOU4SQAA+1loupAXDevc8g6BeN8ghkft58jHDshH7cC6 aQlXk3rTe5SxcDY+MFZgbA0JU2yqHehLbUea5wMMLPncS5pvwLRDjbuJ6THZ7TWD BWoBPzOtVJqvbHWuMF1j84jsDg9QtpxMIPr+/+JuuMJ3W0/0egWLDvxM19+UbU/r 5h7u5deLbAkgA84qmoIUt2fcW1lZ6YFzuhtSlLoYq84XnDbkf6MMVfFmR4zWSJZo W7O38q+QX3reAU2K6+uj =Hhg7 -----END PGP SIGNATURE----- --UlxN1C6awaFNesUv--

------=_Part_2842831_1076017042.1467806764674 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Arman Khalatyan" <arm2arm@gmail.com> To: "users" <users@ovirt.org> Sent: Monday, July 4, 2016 11:52:24 AM Subject: [ovirt-users] Is it possible to disable qxl video?
Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,.
Hi, The 4.0 Vdsm allows you to run a headless VM, meaning a VM without graphic device/frontend. Not sure Engine allows you that however. I'm afraid you will need to write a Vdsm hook. There could be simpler solutions depending on the Engine Bests, -- Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani ------=_Part_2842831_1076017042.1467806764674 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div><br></div><hr id=3D"zwchr"><bloc= kquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:= 5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;fo= nt-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Arman K= halatyan" <arm2arm@gmail.com><br><b>To: </b>"users" <users@ovirt.o= rg><br><b>Sent: </b>Monday, July 4, 2016 11:52:24 AM<br><b>Subject: </b>= [ovirt-users] Is it possible to disable qxl video?<br><div><br></div><div d= ir=3D"ltr"><div><div><div><div><div><br></div>Hi,<br></div>I am doing PCI P= assthrough for GPUs.<br></div>Is it possible somehow to disable/remove defa= ult video qxl?<br></div>thanks,<br></div>Arman,.</div></blockquote><div>Hi,= <br></div><div><br></div><div>The 4.0 Vdsm allows you to run a headless VM,= meaning a VM without graphic device/frontend.<br></div><div>Not sure Engin= e allows you that however. I'm afraid you will need to write a Vdsm hook.<b= r></div><div><br></div><div>There could be simpler solutions depending on t= he Engine<br></div><div><br></div><div>Bests,<br></div><div><br></div><div>= -- <br></div><div><span name=3D"x"></span>Francesco Romani<br>RedHat Engine= ering Virtualization R & D<br>Phone: 8261328<br>IRC: fromani<span name= =3D"x"></span><br></div></div></body></html> ------=_Part_2842831_1076017042.1467806764674--

--Apple-Mail=_DC1F42EC-AB98-47CB-ACC9-8293C9AD0C4F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On 06 Jul 2016, at 14:06, Francesco Romani <fromani@redhat.com> wrote: =20 =20 From: "Arman Khalatyan" <arm2arm@gmail.com> To: "users" <users@ovirt.org> Sent: Monday, July 4, 2016 11:52:24 AM Subject: [ovirt-users] Is it possible to disable qxl video? =20 =20 Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,. Hi, =20 The 4.0 Vdsm allows you to run a headless VM, meaning a VM without = graphic device/frontend. Not sure Engine allows you that however.
no it doesn=E2=80=99t However, if QXL is the problem (why is that so?) then you can switch to = VGA(or CIRRUS if this is still 3.6)
I'm afraid you will need to write a Vdsm hook. =20 There could be simpler solutions depending on the Engine =20 Bests, =20 --=20 Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users>
--Apple-Mail=_DC1F42EC-AB98-47CB-ACC9-8293C9AD0C4F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On 06 Jul 2016, at 14:06, Francesco Romani <<a = href=3D"mailto:fromani@redhat.com" class=3D"">fromani@redhat.com</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = style=3D"font-style: normal; font-variant-caps: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: = 'times new roman', 'new york', times, serif; font-size: 12pt;" = class=3D""><br class=3D"Apple-interchange-newline"><hr id=3D"zwchr" = class=3D""><blockquote style=3D"border-left-width: 2px; = border-left-style: solid; border-left-color: rgb(16, 16, 255); = margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: = normal; text-decoration: none; font-family: Helvetica, Arial, = sans-serif; font-size: 12pt;" class=3D""><b class=3D"">From:<span = class=3D"Apple-converted-space"> </span></b>"Arman Khalatyan" = <<a href=3D"mailto:arm2arm@gmail.com" = class=3D"">arm2arm@gmail.com</a>><br class=3D""><b class=3D"">To:<span = class=3D"Apple-converted-space"> </span></b>"users" <<a = href=3D"mailto:users@ovirt.org" class=3D"">users@ovirt.org</a>><br = class=3D""><b class=3D"">Sent:<span = class=3D"Apple-converted-space"> </span></b>Monday, July 4, 2016 = 11:52:24 AM<br class=3D""><b class=3D"">Subject:<span = class=3D"Apple-converted-space"> </span></b>[ovirt-users] Is it = possible to disable qxl video?<br class=3D""><div class=3D""><br = class=3D""></div><div dir=3D"ltr" class=3D""><div class=3D""><div = class=3D""><div class=3D""><div class=3D""><div class=3D""><br = class=3D""></div>Hi,<br class=3D""></div>I am doing PCI Passthrough for = GPUs.<br class=3D""></div>Is it possible somehow to disable/remove = default video qxl?<br class=3D""></div>thanks,<br = class=3D""></div>Arman,.</div></blockquote><div class=3D"">Hi,<br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">The = 4.0 Vdsm allows you to run a headless VM, meaning a VM without graphic = device/frontend.<br class=3D""></div><div class=3D"">Not sure Engine = allows you that however.</div></div></div></blockquote><div><br = class=3D""></div><div>no it doesn=E2=80=99t</div><div>However, if QXL is = the problem (why is that so?) then you can switch to VGA(or CIRRUS if = this is still 3.6)</div><div><br class=3D""></div><blockquote = type=3D"cite" class=3D""><div class=3D""><div style=3D"font-style: = normal; font-variant-caps: normal; font-weight: normal; letter-spacing: = normal; orphans: auto; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: auto; word-spacing: = 0px; -webkit-text-stroke-width: 0px; font-family: 'times new roman', = 'new york', times, serif; font-size: 12pt;" class=3D""><div class=3D""> = I'm afraid you will need to write a Vdsm hook.<br class=3D""></div><div = class=3D""><br class=3D""></div><div class=3D"">There could be simpler = solutions depending on the Engine<br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D"">Bests,<br class=3D""></div><div = class=3D""><br class=3D""></div><div class=3D"">--<span = class=3D"Apple-converted-space"> </span><br class=3D""></div><div = class=3D""><span name=3D"x" class=3D""></span>Francesco Romani<br = class=3D"">RedHat Engineering Virtualization R & D<br = class=3D"">Phone: 8261328<br class=3D"">IRC: fromani<span name=3D"x" = class=3D""></span><br class=3D""></div></div><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; = float: none; display: inline !important;" = class=3D"">_______________________________________________</span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; = float: none; display: inline !important;" class=3D"">Users mailing = list</span><br style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><a = href=3D"mailto:Users@ovirt.org" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D"">Users@ovirt.org</a><br style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" = class=3D"">http://lists.ovirt.org/mailman/listinfo/users</a></div></blockq= uote></div><br class=3D""></body></html>= --Apple-Mail=_DC1F42EC-AB98-47CB-ACC9-8293C9AD0C4F--

On 08/07/16 11:29 +0200, Michal Skrivanek wrote:
On 06 Jul 2016, at 14:06, Francesco Romani <fromani@redhat.com> wrote:
From: "Arman Khalatyan" <arm2arm@gmail.com> To: "users" <users@ovirt.org> Sent: Monday, July 4, 2016 11:52:24 AM Subject: [ovirt-users] Is it possible to disable qxl video?
Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,. Hi,
The 4.0 Vdsm allows you to run a headless VM, meaning a VM without graphic device/frontend. Not sure Engine allows you that however.
no it doesn’t
Even if engine allowed that, it may not be the correct solution. Running headless with PCI passthrough is considered primary VGA passthrough[1]. Using primary VGA passthrough without OVMF could cause (will cause) quite a bit of headaches. If you really want to try that, I assume using before_vm_start hook to remove the video device should be enough. [1] http://wiki.xenproject.org/wiki/Xen_VGA_Passthrough - it's possible to read about primary and secondary passthrough between the lines
However, if QXL is the problem (why is that so?) then you can switch to VGA(or CIRRUS if this is still 3.6)
I'm afraid you will need to write a Vdsm hook.
There could be simpler solutions depending on the Engine
Bests,
-- Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I just testing several GPUs with pci-passthrough: GTX630, Tesla 2050 and FX5800. None of them I got running with opengl/direct rendering inside the virtual machine. I was thinking something to do with qxl driver, but after blacklisting it in the VMs kernel nothing was changed. The VMs Xorg claiming always no display found even if I configure it with headless option: nvidia-xconfig -a --use-display-device=None --virtual=1280x1024 But with nvidia-smi I can see the GPU status, and I can run all cuda tests where opengl/X11 is not involved. My test system is CentOS 7 with ovirt 4. BTW If I clone VM which was not running, to real host on bare metal, everything is running as expecting. *********************************************************** Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany *********************************************************** On Mon, Jul 11, 2016 at 9:06 AM, Martin Polednik <mpolednik@redhat.com> wrote:
On 08/07/16 11:29 +0200, Michal Skrivanek wrote:
On 06 Jul 2016, at 14:06, Francesco Romani <fromani@redhat.com> wrote:
From: "Arman Khalatyan" <arm2arm@gmail.com> To: "users" <users@ovirt.org> Sent: Monday, July 4, 2016 11:52:24 AM Subject: [ovirt-users] Is it possible to disable qxl video?
Hi, I am doing PCI Passthrough for GPUs. Is it possible somehow to disable/remove default video qxl? thanks, Arman,. Hi,
The 4.0 Vdsm allows you to run a headless VM, meaning a VM without graphic device/frontend. Not sure Engine allows you that however.
no it doesn’t
Even if engine allowed that, it may not be the correct solution.
Running headless with PCI passthrough is considered primary VGA passthrough[1]. Using primary VGA passthrough without OVMF could cause (will cause) quite a bit of headaches.
If you really want to try that, I assume using before_vm_start hook to remove the video device should be enough.
[1] http://wiki.xenproject.org/wiki/Xen_VGA_Passthrough - it's possible to read about primary and secondary passthrough between the lines
However, if QXL is the problem (why is that so?) then you can switch to
VGA(or CIRRUS if this is still 3.6)
I'm afraid you will need to write a Vdsm hook.
There could be simpler solutions depending on the Engine
Bests,
-- Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users < http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (6)
-
Arman Khalatyan
-
Christophe Fergeau
-
Francesco Romani
-
Martin Polednik
-
Michal Skrivanek
-
Yaniv Dary