Re: [Xen-devel] [PATCH v5 21/25] xen: support console_switching between Dom0 and DomUs on ARM

2018-10-29 Thread Julien Grall
On 10/29/18 8:00 PM, Stefano Stabellini wrote: On Wed, 24 Oct 2018, Oleksandr Andrushchenko wrote: On 10/23/2018 05:03 AM, Stefano Stabellini wrote: + * console_rx=0 => input to xen + * console_rx=1 => input to dom0 + * console_rx=N => input to dom(N-1) So, why do you only handle case 0/1?

Re: [Xen-devel] [PATCH v5 21/25] xen: support console_switching between Dom0 and DomUs on ARM

2018-10-26 Thread Jan Beulich
>>> On 23.10.18 at 04:03, wrote: > @@ -391,31 +394,79 @@ static void dump_console_ring_key(unsigned char key) > free_xenheap_pages(buf, order); > } > > -/* CTRL- switches input direction between Xen and DOM0. */ > +/* > + * CTRL- changes input direction, rotating among Xen, Dom0, > + *

Re: [Xen-devel] [PATCH v5 21/25] xen: support console_switching between Dom0 and DomUs on ARM

2018-10-24 Thread Oleksandr Andrushchenko
On 10/23/2018 05:03 AM, Stefano Stabellini wrote: Today Ctrl-AAA is used to switch between Xen and Dom0. Extend the mechanism to allow for switching between Xen, Dom0, and any of the initial DomU created from Xen alongside Dom0 out of information provided via device tree. Rename xen_rx to

[Xen-devel] [PATCH v5 21/25] xen: support console_switching between Dom0 and DomUs on ARM

2018-10-22 Thread Stefano Stabellini
Today Ctrl-AAA is used to switch between Xen and Dom0. Extend the mechanism to allow for switching between Xen, Dom0, and any of the initial DomU created from Xen alongside Dom0 out of information provided via device tree. Rename xen_rx to console_rx to match the new behavior. Clarify existing