On 01/10/2018 08:56 AM, Sergey Dyasli wrote:
> On Tue, 2018-01-09 at 09:28 -0700, Jan Beulich wrote:
> On 09.01.18 at 16:43, wrote:
>>>
>>> On Tue, 2018-01-09 at 02:13 -0700, Jan Beulich wrote:
>>> On 04.01.18 at 14:06, wrote:
>
> +size_t consoled_guest_rx(void)
> +{
> +
On Tue, 2018-01-09 at 09:28 -0700, Jan Beulich wrote:
> > > > On 09.01.18 at 16:43, wrote:
> >
> > On Tue, 2018-01-09 at 02:13 -0700, Jan Beulich wrote:
> > > > > > On 04.01.18 at 14:06, wrote:
> > > >
> > > > +size_t consoled_guest_rx(void)
> > > > +{
> > > > +size_t recv = 0, idx = 0;
> >
>>> On 09.01.18 at 16:43, wrote:
> On Tue, 2018-01-09 at 02:13 -0700, Jan Beulich wrote:
>> > > > On 04.01.18 at 14:06, wrote:
>> > +size_t consoled_guest_rx(void)
>> > +{
>> > +size_t recv = 0, idx = 0;
>> > +XENCONS_RING_IDX cons, prod;
>> > +
>> > +if ( !cons_ring )
>> > +r
On Tue, 2018-01-09 at 02:13 -0700, Jan Beulich wrote:
> > > > On 04.01.18 at 14:06, wrote:
> > +size_t consoled_guest_rx(void)
> > +{
> > +size_t recv = 0, idx = 0;
> > +XENCONS_RING_IDX cons, prod;
> > +
> > +if ( !cons_ring )
> > +return 0;
> > +
> > +spin_lock(&rx_lock);
>>> On 04.01.18 at 14:06, wrote:
> @@ -125,13 +127,28 @@ void __init pv_shim_setup_dom(struct domain *d,
> l4_pgentry_t *l4start,
> })
> SET_AND_MAP_PARAM(HVM_PARAM_STORE_PFN, si->store_mfn, store_va);
> SET_AND_MAP_PARAM(HVM_PARAM_STORE_EVTCHN, si->store_evtchn, 0);
> +SET_AND_MAP
From: Sergey Dyasli
Signed-off-by: Sergey Dyasli
---
xen/arch/x86/pv/shim.c | 31 --
xen/drivers/char/Makefile | 1 +
xen/drivers/char/console.c | 4 ++
xen/drivers/char/consoled.c | 145
xen/include/xen/consoled.h | 27 +++