Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-12 Thread Andrew Cooper
On 12/01/2021 08:23, Jan Beulich wrote: > On 11.01.2021 22:22, Andrew Cooper wrote: >> On 24/09/2020 10:51, Paul Durrant wrote: diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index a5d3ed8bda..912f07be47 100644 --- a/xen/common/grant_table.c +++ b/xen/common/gr

Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-12 Thread Andrew Cooper
On 12/01/2021 08:15, Jan Beulich wrote: > On 11.01.2021 22:22, Andrew Cooper wrote: >> On 25/09/2020 14:17, Jan Beulich wrote: >>> On 22.09.2020 20:24, Andrew Cooper wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -4013,6 +4013,81 @@ static int gnttab_get_shar

RE: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-12 Thread Paul Durrant
> ; 'Julien > Grall' ; 'Michał Leszczyński' ; > 'Hubert Jasudowicz' > ; 'Tamas K Lengyel' ; Andrew > Cooper > Subject: Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition > > On 24/09/2020 10:51, Paul Durrant wrote: > >>

Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-12 Thread Jan Beulich
On 11.01.2021 22:22, Andrew Cooper wrote: > On 24/09/2020 10:51, Paul Durrant wrote: >>> diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c >>> index a5d3ed8bda..912f07be47 100644 >>> --- a/xen/common/grant_table.c >>> +++ b/xen/common/grant_table.c >>> @@ -4013,6 +4013,81 @@ static i

Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-12 Thread Jan Beulich
On 11.01.2021 22:22, Andrew Cooper wrote: > On 25/09/2020 14:17, Jan Beulich wrote: >> On 22.09.2020 20:24, Andrew Cooper wrote: >>> --- a/xen/common/grant_table.c >>> +++ b/xen/common/grant_table.c >>> @@ -4013,6 +4013,81 @@ static int gnttab_get_shared_frame_mfn(struct domain >>> *d, >>> re

Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-11 Thread Andrew Cooper
On 24/09/2020 10:51, Paul Durrant wrote: >> diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c >> index a5d3ed8bda..912f07be47 100644 >> --- a/xen/common/grant_table.c >> +++ b/xen/common/grant_table.c >> @@ -4013,6 +4013,81 @@ static int gnttab_get_shared_frame_mfn(struct domain >>

Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2021-01-11 Thread Andrew Cooper
On 25/09/2020 14:17, Jan Beulich wrote: > On 22.09.2020 20:24, Andrew Cooper wrote: >> --- a/xen/common/grant_table.c >> +++ b/xen/common/grant_table.c >> @@ -4013,6 +4013,81 @@ static int gnttab_get_shared_frame_mfn(struct domain >> *d, >> return 0; >> } >> >> +int gnttab_acquire_resource

Re: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2020-09-25 Thread Jan Beulich
On 22.09.2020 20:24, Andrew Cooper wrote: > --- a/xen/common/grant_table.c > +++ b/xen/common/grant_table.c > @@ -4013,6 +4013,81 @@ static int gnttab_get_shared_frame_mfn(struct domain > *d, > return 0; > } > > +int gnttab_acquire_resource( > +struct domain *d, unsigned int id, unsign

RE: [PATCH v2 02/11] xen/gnttab: Rework resource acquisition

2020-09-24 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper > Sent: 22 September 2020 19:25 > To: Xen-devel > Cc: Andrew Cooper ; George Dunlap > ; Ian > Jackson ; Jan Beulich ; Stefano > Stabellini > ; Wei Liu ; Julien Grall > ; Paul Durrant > ; Michał Leszczyński ; Hubert > Jasudowicz > ; Tamas K Le