Re: [Xen-devel] [PATCH RFC v1 34/74] x86/guest: add PV console code

2018-01-10 Thread Jan Beulich
>>> On 10.01.18 at 16:33, wrote: > I've spoken to Sergey and he agrees that this should be solved and > that using uart_driver seems like the right approach. > > However given that we would like to merge this ASAP, do you consider > this a blocker? No. Jan

Re: [Xen-devel] [PATCH RFC v1 34/74] x86/guest: add PV console code

2018-01-10 Thread Roger Pau Monné
On Fri, Jan 05, 2018 at 08:22:46AM -0700, Jan Beulich wrote: > >>> On 04.01.18 at 14:05, wrote: > > +void __init pv_console_set_rx_handler(serial_rx_fn fn) > > +{ > > +cons_rx_handler = fn; > > +} > > Especially this and ... > > > +size_t pv_console_rx(struct cpu_user_regs *regs) > > +{ > >

Re: [Xen-devel] [PATCH RFC v1 34/74] x86/guest: add PV console code

2018-01-05 Thread Jan Beulich
>>> On 04.01.18 at 14:05, wrote: > --- /dev/null > +++ b/xen/drivers/char/xen_pv_console.c > @@ -0,0 +1,198 @@ > +/** > + * drivers/char/xen_pv_console.c > + * > + * A frontend driver for Xen's PV console. > + * Can be use

[Xen-devel] [PATCH RFC v1 34/74] x86/guest: add PV console code

2018-01-04 Thread Wei Liu
From: Sergey Dyasli Signed-off-by: Sergey Dyasli Signed-off-by: Andrew Cooper --- xen/drivers/char/Makefile | 1 + xen/drivers/char/xen_pv_console.c | 198 ++ xen/include/asm-x86/fixmap.h | 1 + xen/include/asm-x86/guest/hypercall.h