[Users] how do you connect to a host's serial console
Antoni Segura Puimedon
asegurap at redhat.com
Mon Apr 7 19:40:16 UTC 2014
----- Original Message -----
> From: "Michal Skrivanek" <michal.skrivanek at redhat.com>
> To: "Jeremiah Jahn" <jeremiah at goodinassociates.com>
> Cc: users at ovirt.org
> Sent: Monday, April 7, 2014 4:31:11 PM
> Subject: Re: [Users] how do you connect to a host's serial console
>
>
> On Apr 7, 2014, at 16:23 , Jeremiah Jahn <jeremiah at goodinassociates.com>
> wrote:
>
> > thx, So dumb question at this point. I'm in the process of moving from
> > virt-manager to ovirt. virsh has an edit domain function, or I can
> > edit the xml by hand. I'm able to locate the xml on the host, but
> > obviously if I edit it by hand it will be replaced by vdsm. I'm having
> > a hell of a time trying to find the xml on the engine, so that I can
> > try modifying the xml to add a serial console. Based on that code
> > that's all that's really going on with that patch. So I'd think I can
> > wing it by modifying the db or xml directly. Just not sure where to
> > go to do so. I'm guessing I could go into vm_device and replace
> > device='virtio-serial' with 'serial' but that seems to easy. Any
> > pointers you've got on how the xml is stored or produced would be
> > great.
>
> It's a bit more complicated than that….there's no XML stored in the backend.
> You'd be better off applying the patch over and compile yourself:)
> The supported way of how to amend the libvirt XML is via VDSM hooks. You need
> to intercept the created XML and add whatever is needed, see
> http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base
> for what you're trying to do...
Yup, before_vm_start before_vm_migrate should allow you to do what you want.
>
> Thanks,
> michal
>
> >
> > On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek
> > <michal.skrivanek at redhat.com> wrote:
> >>
> >> On Apr 7, 2014, at 15:57 , Jeremiah Jahn <jeremiah at goodinassociates.com>
> >> wrote:
> >>
> >>> So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly
> >>> what I need, just curious how long I'll have to wait. I know this is
> >>> every developers favorite question.
> >>
> >> one needs to nag Vinzenz frequently enough....:-D
> >>
> >> ....but should be 3.4.1
> >>
> >> Thanks,
> >> michal
> >>
> >>>
> >>> On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek
> >>> <michal.skrivanek at redhat.com> wrote:
> >>>>
> >>>> On Apr 6, 2014, at 21:50 , Jeremiah Jahn <jeremiah at goodinassociates.com>
> >>>> wrote:
> >>>>
> >>>>> I just can't seem to figure this out. I've enabled 'VirtIO Console
> >>>>> Device' yet I can't seem to find anyplace that will let me get there.
> >>>>> If I go to virsh on the host and try ttyconsoe that doesn't work
> >>>>> either. thanks for any help.
> >>>>
> >>>> Does not work. Pending this[1] patch to get in.
> >>>>
> >>>> Thanks,
> >>>> michal
> >>>>
> >>>> [1] http://gerrit.ovirt.org/#/c/25979/
> >>>>
> >>>>> _______________________________________________
> >>>>> Users mailing list
> >>>>> Users at ovirt.org
> >>>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>>
> >>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list