[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Tomáš Golembiovský
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-hook-examples

On Tue, 22 May 2018 15:15:57 +0100
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
> 
> 
> 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  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  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ý 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Tomáš Golembiovský
adding back the list

On Tue, 22 May 2018 16:38:31 +0200
Francesco Romani  wrote:

> On 05/22/2018 04:08 PM, 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  element to the domain XML. Don't forget to pin
> > the VM to a specific host though.
> 
> Yes, pinning is most likely needed. As per libvirt configuration, there
> should be direct libvirt support, maybe predating hostdev:
> 
> https://libvirt.org/formatdomain.html#elementsCharHost
> 
> Bests,
> 
> -- 
> Francesco Romani
> Senior SW Eng., Virtualization R&D
> Red Hat
> IRC: fromani github: @fromanirh
> 


-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Francesco Romani

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

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Joshua Blake

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  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  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




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Tomáš Golembiovský
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  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  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ý 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org