Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-09-07 Thread Oleksandr
; Wei Liu ; Andrew Cooper ; George Dunlap ; Jan Beulich ; Julien Grall ; Stefano Stabellini ; Volodymyr Babchuk ; Roger Pau Monné ; Bertrand Marquis ; Wei Chen Subject: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space From: Oleksandr Tyshchenko Add

RE: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-09-07 Thread Henry Wang
iu ; Andrew Cooper ; George > Dunlap ; Jan Beulich ; > Julien Grall ; Stefano Stabellini ; > Volodymyr Babchuk ; Roger Pau Monné > ; Bertrand Marquis ; > Wei Chen > Subject: [RFC PATCH] xen/memory: Introduce a hypercall to provide > unallocated space > > From: Oleks

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-27 Thread Oleksandr
On 17.08.21 20:54, Julien Grall wrote: Hi Julien On 17/08/2021 18:53, Julien Grall wrote: Hi Oleksandr, On 10/08/2021 18:03, Oleksandr wrote: On 10.08.21 19:28, Julien Grall wrote: Hi Julien. On 09/08/2021 22:18, Oleksandr wrote: On 09.08.21 23:45, Julien Grall wrote: Hi Julien

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-17 Thread Julien Grall
IRC discussion related to this: [11:32:19] julieng: I have skimread the thread "[RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space" [11:32:56] My impression is that it is converging on a workable solution but I am not sure. Does it need any help ? [12:20:32]

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-17 Thread Julien Grall
On 17/08/2021 18:53, Julien Grall wrote: Hi Oleksandr, On 10/08/2021 18:03, Oleksandr wrote: On 10.08.21 19:28, Julien Grall wrote: Hi Julien. On 09/08/2021 22:18, Oleksandr wrote: On 09.08.21 23:45, Julien Grall wrote: Hi Julien Hi Oleksandr, On 09/08/2021 19:24, Oleksandr wr

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-17 Thread Julien Grall
Hi Oleksandr, On 10/08/2021 18:03, Oleksandr wrote: On 10.08.21 19:28, Julien Grall wrote: Hi Julien. On 09/08/2021 22:18, Oleksandr wrote: On 09.08.21 23:45, Julien Grall wrote: Hi Julien Hi Oleksandr, On 09/08/2021 19:24, Oleksandr wrote: On 09.08.21 18:42, Julien Grall wrote:

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-13 Thread Oleksandr
On 05.08.21 20:25, Julien Grall wrote: Hi Oleksandr, Hi Julien, all On 05/08/2021 15:52, Oleksandr wrote: On 05.08.21 01:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Hi Julien, Stefano. Hi Oleksandr, Hi, Julien Thank you for the prompt reply and explanation

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-13 Thread Oleksandr
On 09.08.21 17:51, Julien Grall wrote: Hi, Hi Julien, all I am writing down here what we discussed on another thread and on IRC. This will be easier to track in a single thread. On 04/08/2021 23:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Now, I am wondering, would i

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-10 Thread Oleksandr
On 10.08.21 19:28, Julien Grall wrote: Hi Julien. On 09/08/2021 22:18, Oleksandr wrote: On 09.08.21 23:45, Julien Grall wrote: Hi Julien Hi Oleksandr, On 09/08/2021 19:24, Oleksandr wrote: On 09.08.21 18:42, Julien Grall wrote: 1. If IOMMU is enabled for Dom0 -> provide holes fou

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-10 Thread Oleksandr
; xen-devel@lists.xenproject.org; Oleksandr Tyshchenko ; Daniel De Graaf ; Daniel P. Smith ; Ian Jackson ; Wei Liu ; George Dunlap ; Jan Beulich ; Volodymyr Babchuk ; Roger Pau Monné ; Bertrand Marquis ; Wei Chen Subject: Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-10 Thread Julien Grall
On 09/08/2021 22:18, Oleksandr wrote: On 09.08.21 23:45, Julien Grall wrote: Hi Julien Hi Oleksandr, On 09/08/2021 19:24, Oleksandr wrote: On 09.08.21 18:42, Julien Grall wrote: 1. If IOMMU is enabled for Dom0 -> provide holes found in Host DT as safe ranges I would take into the

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-10 Thread Julien Grall
; Daniel De Graaf ; Daniel P. Smith ; Ian Jackson ; Wei Liu ; George Dunlap ; Jan Beulich ; Volodymyr Babchuk ; Roger Pau Monné ; Bertrand Marquis ; Wei Chen Subject: Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space On 09.08.21 18:42, Julien Grall wrote: Hi Oleksandr

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-10 Thread Oleksandr
Jackson ; Wei Liu ; George Dunlap ; Jan Beulich ; Volodymyr Babchuk ; Roger Pau Monné ; Bertrand Marquis ; Wei Chen Subject: Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space On 09.08.21 18:42, Julien Grall wrote: Hi Oleksandr, Hi Julien. Thank you for the input

RE: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Wei Chen
Liu ; George Dunlap > ; Jan Beulich ; Volodymyr > Babchuk ; Roger Pau Monné > ; Bertrand Marquis ; Wei > Chen > Subject: Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide > unallocated space > > > On 09.08.21 18:42, Julien Grall wrote: > > Hi O

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Oleksandr
On 09.08.21 23:45, Julien Grall wrote: Hi Julien On 09/08/2021 19:24, Oleksandr wrote: On 09.08.21 18:42, Julien Grall wrote: Hi Oleksandr, Hi Julien. Thank you for the input. On 07/08/2021 18:03, Oleksandr wrote: On 06.08.21 03:30, Stefano Stabellini wrote: Hi Stefano On

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Julien Grall
On 09/08/2021 19:24, Oleksandr wrote: On 09.08.21 18:42, Julien Grall wrote: Hi Oleksandr, Hi Julien. Thank you for the input. On 07/08/2021 18:03, Oleksandr wrote: On 06.08.21 03:30, Stefano Stabellini wrote: Hi Stefano On Wed, 4 Aug 2021, Julien Grall wrote: +#define GUEST_SA

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Oleksandr
On 09.08.21 18:42, Julien Grall wrote: Hi Oleksandr, Hi Julien. Thank you for the input. On 07/08/2021 18:03, Oleksandr wrote: On 06.08.21 03:30, Stefano Stabellini wrote: Hi Stefano On Wed, 4 Aug 2021, Julien Grall wrote: +#define GUEST_SAFE_RANGE_BASE xen_mk_ullong(0xDE)

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Oleksandr
On 09.08.21 20:18, Julien Grall wrote: Hi Julien On 09/08/2021 18:14, Oleksandr wrote: On 09.08.21 17:51, Julien Grall wrote: Hi Julien. Hi Oleksandr, I am writing down here what we discussed on another thread and on IRC. This will be easier to track in a single thread. On 04/08/20

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Julien Grall
On 09/08/2021 18:14, Oleksandr wrote: On 09.08.21 17:51, Julien Grall wrote: Hi Julien. Hi Oleksandr, I am writing down here what we discussed on another thread and on IRC. This will be easier to track in a single thread. On 04/08/2021 23:00, Julien Grall wrote: On 04/08/2021 21:56, Ol

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Oleksandr
On 09.08.21 17:51, Julien Grall wrote: Hi, Hi Julien. I am writing down here what we discussed on another thread and on IRC. This will be easier to track in a single thread. On 04/08/2021 23:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Now, I am wondering, would it b

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Julien Grall
Hi Oleksandr, On 07/08/2021 18:03, Oleksandr wrote: On 06.08.21 03:30, Stefano Stabellini wrote: Hi Stefano On Wed, 4 Aug 2021, Julien Grall wrote: +#define GUEST_SAFE_RANGE_BASE   xen_mk_ullong(0xDE) /* 128GB */ +#define GUEST_SAFE_RANGE_SIZE   xen_mk_ullong(0x02) While t

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-09 Thread Julien Grall
Hi, I am writing down here what we discussed on another thread and on IRC. This will be easier to track in a single thread. On 04/08/2021 23:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Now, I am wondering, would it be possible to update/clarify the current "reg" purpose and

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-07 Thread Oleksandr
On 06.08.21 03:30, Stefano Stabellini wrote: Hi Stefano On Wed, 4 Aug 2021, Julien Grall wrote: +#define GUEST_SAFE_RANGE_BASE   xen_mk_ullong(0xDE) /* 128GB */ +#define GUEST_SAFE_RANGE_SIZE   xen_mk_ullong(0x02) While the possible new DT bindings has not been agreed yet, I

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-06 Thread Oleksandr
Hi Stefano On 06.08.21 03:20, Stefano Stabellini wrote: On Thu, 5 Aug 2021, Julien Grall wrote: Hi Oleksandr, On 05/08/2021 15:52, Oleksandr wrote: On 05.08.21 01:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Hi Julien, Stefano. Hi Oleksandr, Hi, Julien Thank you fo

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-06 Thread Daniel P. Smith
On 8/6/21 2:09 AM, Jan Beulich wrote: > On 05.08.2021 18:37, Daniel P. Smith wrote: >> On 8/5/21 11:59 AM, Oleksandr wrote: >>> On 05.08.21 18:03, Daniel P. Smith wrote: On 7/28/21 12:18 PM, Oleksandr Tyshchenko wrote: > --- a/xen/common/memory.c > +++ b/xen/common/memory.c > @@ -1

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Jan Beulich
On 05.08.2021 18:37, Daniel P. Smith wrote: > On 8/5/21 11:59 AM, Oleksandr wrote: >> On 05.08.21 18:03, Daniel P. Smith wrote: >>> On 7/28/21 12:18 PM, Oleksandr Tyshchenko wrote: --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -1811,6 +1811,62 @@ long do_memory_op(unsigned l

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Stefano Stabellini
On Wed, 4 Aug 2021, Julien Grall wrote: > > +#define GUEST_SAFE_RANGE_BASE   xen_mk_ullong(0xDE) /* 128GB */ > > +#define GUEST_SAFE_RANGE_SIZE   xen_mk_ullong(0x02) > > > > While the possible new DT bindings has not been agreed yet, I re-used > > existing "reg" property under the

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Stefano Stabellini
On Thu, 5 Aug 2021, Julien Grall wrote: > Hi Oleksandr, > > On 05/08/2021 15:52, Oleksandr wrote: > > > > On 05.08.21 01:00, Julien Grall wrote: > > > > > > > > > On 04/08/2021 21:56, Oleksandr wrote: > > > > > > > > Hi Julien, Stefano. > > > > > > Hi Oleksandr, > > > > > > Hi, Julien > >

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Oleksandr
On 05.08.21 19:37, Daniel P. Smith wrote: Hey Oleksandr! Hi Daniel. On 8/5/21 11:59 AM, Oleksandr wrote: On 05.08.21 18:03, Daniel P. Smith wrote: Hi Daniel. On 7/28/21 12:18 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko ... diff --git a/xen/common/memory.c b/xen/com

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Oleksandr
On 05.08.21 20:25, Julien Grall wrote: Hi Oleksandr, Hi Julien On 05/08/2021 15:52, Oleksandr wrote: On 05.08.21 01:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Hi Julien, Stefano. Hi Oleksandr, Hi, Julien Thank you for the prompt reply and explanations.

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Julien Grall
Hi Oleksandr, On 05/08/2021 15:52, Oleksandr wrote: On 05.08.21 01:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Hi Julien, Stefano. Hi Oleksandr, Hi, Julien Thank you for the prompt reply and explanations. On 02.08.21 22:12, Oleksandr wrote: I have done some e

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Daniel P. Smith
Hey Oleksandr! On 8/5/21 11:59 AM, Oleksandr wrote: > > On 05.08.21 18:03, Daniel P. Smith wrote: > > Hi Daniel. > >> On 7/28/21 12:18 PM, Oleksandr Tyshchenko wrote: >>> From: Oleksandr Tyshchenko >> ... >> >>> diff --git a/xen/common/memory.c b/xen/common/memory.c >>> index e07bd9a..3f9b816

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Oleksandr
On 05.08.21 18:03, Daniel P. Smith wrote: Hi Daniel. On 7/28/21 12:18 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko ... diff --git a/xen/common/memory.c b/xen/common/memory.c index e07bd9a..3f9b816 100644 --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -1811,6 +1811,6

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Oleksandr
On 05.08.21 08:58, Jan Beulich wrote: Hi Jan. On 04.08.2021 21:18, Oleksandr wrote: On 03.08.21 15:53, Jan Beulich wrote: On 30.07.2021 18:13, Oleksandr wrote: - Where that range should be located in guest address space, should that range be the same for all domains (how GUEST_GNTTAB_BASE(

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Daniel P. Smith
On 7/28/21 12:18 PM, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko ... > diff --git a/xen/common/memory.c b/xen/common/memory.c > index e07bd9a..3f9b816 100644 > --- a/xen/common/memory.c > +++ b/xen/common/memory.c > @@ -1811,6 +1811,62 @@ long do_memory_op(unsigned long cmd, > XEN_

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-05 Thread Oleksandr
On 05.08.21 01:00, Julien Grall wrote: On 04/08/2021 21:56, Oleksandr wrote: Hi Julien, Stefano. Hi Oleksandr, Hi, Julien Thank you for the prompt reply and explanations. On 02.08.21 22:12, Oleksandr wrote: I have done some experiments with Xen and toolstack according to the d

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-04 Thread Jan Beulich
On 04.08.2021 21:18, Oleksandr wrote: > On 03.08.21 15:53, Jan Beulich wrote: >> On 30.07.2021 18:13, Oleksandr wrote: >>> - Where that range should be located in guest address space, should that >>> range be the same for all domains (how GUEST_GNTTAB_BASE(SIZE) for example) >>> or it should be cal

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-04 Thread Julien Grall
On 04/08/2021 21:56, Oleksandr wrote: Hi Julien, Stefano. Hi Oleksandr, On 02.08.21 22:12, Oleksandr wrote: I have done some experiments with Xen and toolstack according to the discussion above. So, I re-used DTB to pass a safe range to the domain. For the range I borrowed some space f

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-04 Thread Oleksandr
Hi Julien, Stefano. On 02.08.21 22:12, Oleksandr wrote: Hi Stefano, Thank you for the comments and ideas. On 31.07.21 02:57, Stefano Stabellini wrote: On Fri, 30 Jul 2021, Oleksandr wrote: Hi Andrew, Julien. @Andrew, I think that arguments you provided in your first answer (why the

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-04 Thread Oleksandr
On 03.08.21 15:53, Jan Beulich wrote: Hi, Jan Thank you for the input. On 30.07.2021 18:13, Oleksandr wrote: Well, if new hypercall and, what is more, "the querying hypervisor at runtime to find unused space" model itself is not welcome, I am ok, let's try to create a working system, may we

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-03 Thread Jan Beulich
On 30.07.2021 18:13, Oleksandr wrote: > Well, if new hypercall and, what is more, "the querying hypervisor at > runtime to find unused space" model itself is not welcome, I am ok, > let's try to create a working system, > may we please find a common ground to move this forward (at least on Arm >

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-03 Thread Julien Grall
Hi Jan, On 03/08/2021 13:49, Jan Beulich wrote: On 28.07.2021 21:53, Julien Grall wrote: On 28/07/2021 20:00, Andrew Cooper wrote: On 28/07/2021 18:27, Julien Grall wrote: On 28/07/2021 18:19, Andrew Cooper wrote: On 28/07/2021 17:18, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-03 Thread Jan Beulich
On 28.07.2021 21:53, Julien Grall wrote: > On 28/07/2021 20:00, Andrew Cooper wrote: >> On 28/07/2021 18:27, Julien Grall wrote: >>> On 28/07/2021 18:19, Andrew Cooper wrote: On 28/07/2021 17:18, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > Add XENMEM_get_unallocat

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-08-02 Thread Oleksandr
Hi Stefano, Thank you for the comments and ideas. On 31.07.21 02:57, Stefano Stabellini wrote: On Fri, 30 Jul 2021, Oleksandr wrote: Hi Andrew, Julien. @Andrew, I think that arguments you provided in your first answer (why the proposed solution is a potentially racy and not a safe) are v

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-30 Thread Stefano Stabellini
On Fri, 30 Jul 2021, Oleksandr wrote: > Hi Andrew, Julien. > > > @Andrew, I think that arguments you provided in your first answer (why the > proposed solution is a potentially racy and not a safe) are valid and > reasonable. > Thanks for the feedback. > > > On 28.07.21 22:53, Julien Grall wrot

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-30 Thread Oleksandr
Hi Andrew, Julien. @Andrew, I think that arguments you provided in your first answer (why the proposed solution is a potentially racy and not a safe) are valid and reasonable. Thanks for the feedback. On 28.07.21 22:53, Julien Grall wrote: On 28/07/2021 20:00, Andrew Cooper wrote: On

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-28 Thread Julien Grall
On 28/07/2021 20:00, Andrew Cooper wrote: On 28/07/2021 18:27, Julien Grall wrote: Hi Andrew, On 28/07/2021 18:19, Andrew Cooper wrote: On 28/07/2021 17:18, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add XENMEM_get_unallocated_space hypercall which purpose is to query hypervi

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-28 Thread Andrew Cooper
On 28/07/2021 18:27, Julien Grall wrote: > Hi Andrew, > > On 28/07/2021 18:19, Andrew Cooper wrote: >> On 28/07/2021 17:18, Oleksandr Tyshchenko wrote: >>> From: Oleksandr Tyshchenko >>> >>> Add XENMEM_get_unallocated_space hypercall which purpose is to >>> query hypervisor to find regions of gues

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-28 Thread Julien Grall
Hi Andrew, On 28/07/2021 18:19, Andrew Cooper wrote: On 28/07/2021 17:18, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add XENMEM_get_unallocated_space hypercall which purpose is to query hypervisor to find regions of guest physical address space which are unused and can be used to

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-28 Thread Andrew Cooper
On 28/07/2021 17:18, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > Add XENMEM_get_unallocated_space hypercall which purpose is to > query hypervisor to find regions of guest physical address space > which are unused and can be used to create grant/foreign mappings > instead of wasti

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-28 Thread Oleksandr
Hello all On 28.07.21 19:18, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add XENMEM_get_unallocated_space hypercall which purpose is to query hypervisor to find regions of guest physical address space which are unused and can be used to create grant/foreign mappings instead of wa

[RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space

2021-07-28 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Add XENMEM_get_unallocated_space hypercall which purpose is to query hypervisor to find regions of guest physical address space which are unused and can be used to create grant/foreign mappings instead of wasting real pages from the domain memory for establishing these