[ovirt-users] Re: Ovirt attach serial port on VM

2018-09-27 Thread Francesco Romani


On 9/27/18 7:08 AM, Alex K wrote:

Hi Brad,

On Wed, Sep 26, 2018, 22:25 > wrote:


Alex,

Have you developed a solution for this? I find myself in a similar
situation..

No, I have not. Although I understand what is needed (amend xml of vm 
with custom pre-start hooks) I need some python know-how.



Hi,


You may find this patch useful: https://gerrit.ovirt.org/#/c/91499/

it is mostly untested, but should be a good starting point.


HTH,

--
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
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E7VLDOUFZ23WVHFKMGADCD7OMKJF6H6Y/


[ovirt-users] Re: Ovirt attach serial port on VM

2018-09-26 Thread Alex K
Hi Brad,

On Wed, Sep 26, 2018, 22:25  wrote:

> Alex,
>
> Have you developed a solution for this? I find myself in a similar
> situation..
>
No, I have not. Although I understand what is needed (amend xml of vm with
custom pre-start hooks) I need some python know-how.

>
> -Brad
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MVQVIU4Z7DDSD5UGAA7VJXJZRDQQBBPB/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NOPBOSBHS4QMOFAO2RRNT2EDILG4CLHF/


[ovirt-users] Re: Ovirt attach serial port on VM

2018-09-26 Thread Vincent Royer
Use a serial to IP converter.

I connect many ovirt VMs to USB and serial devices using IP interfaces.
They work very well and are far more flexible, as you can change which VM
the devices are connected to on the fly.

On Wed, Sep 26, 2018, 12:26 PM  wrote:

> Alex,
>
> Have you developed a solution for this? I find myself in a similar
> situation..
>
> -Brad
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MVQVIU4Z7DDSD5UGAA7VJXJZRDQQBBPB/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KKXVUG5SON236GVMBWLTXOZAQ77Z6GCP/


[ovirt-users] Re: Ovirt attach serial port on VM

2018-09-26 Thread brad . riemann
Alex,

Have you developed a solution for this? I find myself in a similar situation..

-Brad
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MVQVIU4Z7DDSD5UGAA7VJXJZRDQQBBPB/


[ovirt-users] Re: Ovirt attach serial port on VM

2018-09-18 Thread Alex K
Thanx Michal for the feedback.

On Tue, Sep 18, 2018 at 3:40 PM Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
>
> > On 18 Sep 2018, at 14:20, Alex K  wrote:
> >
> > Hi all,
> >
> > I have a serial port on one of the servers where the guest VM is
> running.
> >
> > setserial -g /dev/ttyS0
> > /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
> >
> > I wanted the serial port to be connected at the VM, so as the VM to be
> able to use directly the serial port of the server. Thus I went at host
> devices to add the port but I am not able to find it, as the serial port is
> not listed at PCI devices.
> >
> > I recall that on plain KVM one could be able to attach such a serial
> port at a guest VM. Has anyone been able to attach a serial port to a guest
> VM woth ovirt? (I am running 4.2.5)
>
> we don’t support that directly.
> You can use(write) a vdsm hook to add the necessary libvirt xml part to
> your VM definition. That should work just fine
>
> Thanks,
> michal
>
> >
> > Thanx,
> > Alex
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/KIPRCXWMC7GSV6A3YZQOQJ7P2YX3AMFN/
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I3DZULAGGNKPGWHYH4CIGJAYW3I3RNFG/


[ovirt-users] Re: Ovirt attach serial port on VM

2018-09-18 Thread Michal Skrivanek


> On 18 Sep 2018, at 14:20, Alex K  wrote:
> 
> Hi all, 
> 
> I have a serial port on one of the servers where the guest VM is running. 
> 
> setserial -g /dev/ttyS0
> /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
> 
> I wanted the serial port to be connected at the VM, so as the VM to be able 
> to use directly the serial port of the server. Thus I went at host devices to 
> add the port but I am not able to find it, as the serial port is not listed 
> at PCI devices. 
> 
> I recall that on plain KVM one could be able to attach such a serial port at 
> a guest VM. Has anyone been able to attach a serial port to a guest VM woth 
> ovirt? (I am running 4.2.5)

we don’t support that directly.
You can use(write) a vdsm hook to add the necessary libvirt xml part to your VM 
definition. That should work just fine

Thanks,
michal

> 
> Thanx, 
> Alex
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/KIPRCXWMC7GSV6A3YZQOQJ7P2YX3AMFN/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E2GRDET5Z5VBGGQ7CIBVE7N2SJW7I4VY/