Serial pass-through on oVirt VMs

Hello, We have an old Windows XP VM, that requires access to a physical serial port for our telephone system. We have this working in VMWare, however, I'm not entirely sure how we would set this up in oVirt? Can someone help please? Kind Regards, Joshua Blake

Hi, you can try to use VDSM hook to add a dummy serial device to the VM domain XML. Or if you really need a physical device then you can use the hook to add the <hostdev> element to the domain XML. Don't forget to pin the VM to a specific host though. Hope this helps, Tomas On Wed, 16 May 2018 10:17:49 +0100 Joshua Blake <maddogmcree2@gmail.com> wrote:
Hello,
We have an old Windows XP VM, that requires access to a physical serial port for our telephone system. We have this working in VMWare, however, I'm not entirely sure how we would set this up in oVirt? Can someone help please?
Kind Regards, Joshua Blake
-- Tomáš Golembiovský <tgolembi@redhat.com>

Hello Tomas, Thank you for coming back to me. I don't suppose you have any examples or guides you could point me in the direction of please? Kind Regards, Joshua Blake On 22/05/2018 15:08, Tomáš Golembiovský wrote:
Hi,
you can try to use VDSM hook to add a dummy serial device to the VM domain XML. Or if you really need a physical device then you can use the hook to add the <hostdev> element to the domain XML. Don't forget to pin the VM to a specific host though.
Hope this helps,
Tomas
On Wed, 16 May 2018 10:17:49 +0100 Joshua Blake <maddogmcree2@gmail.com> wrote:
Hello,
We have an old Windows XP VM, that requires access to a physical serial port for our telephone system. We have this working in VMWare, however, I'm not entirely sure how we would set this up in oVirt? Can someone help please?
Kind Regards, Joshua Blake

On 05/22/2018 04:15 PM, Joshua Blake wrote:
Hello Tomas,
Thank you for coming back to me. I don't suppose you have any examples or guides you could point me in the direction of please?
Kind Regards, Joshua Blake
You may want to start from there (warning: NOT tested on real hw or with real VMs) https://gerrit.ovirt.org/91499 bests, -- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh

Take a look at this page [1] for documentation of the hooks system. There is also an example how to use it to change the XML at the end [2]. Tomas [1] https://www.ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks/ [2] https://www.ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks/#vdsm-ho... On Tue, 22 May 2018 15:15:57 +0100 Joshua Blake <maddogmcree2@gmail.com> wrote:
Hello Tomas,
Thank you for coming back to me. I don't suppose you have any examples or guides you could point me in the direction of please?
Kind Regards, Joshua Blake
On 22/05/2018 15:08, Tomáš Golembiovský wrote:
Hi,
you can try to use VDSM hook to add a dummy serial device to the VM domain XML. Or if you really need a physical device then you can use the hook to add the <hostdev> element to the domain XML. Don't forget to pin the VM to a specific host though.
Hope this helps,
Tomas
On Wed, 16 May 2018 10:17:49 +0100 Joshua Blake <maddogmcree2@gmail.com> wrote:
Hello,
We have an old Windows XP VM, that requires access to a physical serial port for our telephone system. We have this working in VMWare, however, I'm not entirely sure how we would set this up in oVirt? Can someone help please?
Kind Regards, Joshua Blake
-- Tomáš Golembiovský <tgolembi@redhat.com>
participants (3)
-
Francesco Romani
-
Joshua Blake
-
Tomáš Golembiovský