Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Olaf Hering
Am Wed, 28 Apr 2021 12:43:45 +0100 schrieb Andrew Cooper : > Grants are not properly accounted for in the logdirty bitmap, because > they're not unmapped during the final phase. Yeah, which means the verify code can do no useful work. This can be addressed by either removing it. Or by giving

Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Andrew Cooper
On 28/04/2021 12:03, Olaf Hering wrote: > Am Wed, 28 Apr 2021 12:42:54 +0200 > schrieb Jan Beulich : > >> It might help if you would outline what you're actually after by >> knowing a domain's active grants. > There is REC_TYPE_VERIFY, which will re-transmit all memory of a paused domU > and

Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Andrew Cooper
On 28/04/2021 11:17, Olaf Hering wrote: > Am Wed, 28 Apr 2021 11:49:59 +0200 > schrieb Jan Beulich : > >> On 28.04.2021 09:50, Olaf Hering wrote: >>> Is there an API to get a list of PFNs which are currently being active in >>> the grant table for a given domid? >> Do you really mean PFNs? >

Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Olaf Hering
Am Wed, 28 Apr 2021 12:42:54 +0200 schrieb Jan Beulich : > It might help if you would outline what you're actually after by > knowing a domain's active grants. There is REC_TYPE_VERIFY, which will re-transmit all memory of a paused domU and compare what was previously transferred. Last time I

Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Jan Beulich
On 28.04.2021 12:17, Olaf Hering wrote: > Am Wed, 28 Apr 2021 11:49:59 +0200 > schrieb Jan Beulich : >> On 28.04.2021 09:50, Olaf Hering wrote: >>> Is there an API to get a list of PFNs which are currently being active in >>> the grant table for a given domid? >> >> Also, what do you mean by

Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Olaf Hering
Am Wed, 28 Apr 2021 11:49:59 +0200 schrieb Jan Beulich : > On 28.04.2021 09:50, Olaf Hering wrote: > > Is there an API to get a list of PFNs which are currently being active in > > the grant table for a given domid? > Do you really mean PFNs? The save/restore code uses the term "pfn" to refer

Re: obtain a list of granttable PFNs from toolstack

2021-04-28 Thread Jan Beulich
On 28.04.2021 09:50, Olaf Hering wrote: > Is there an API to get a list of PFNs which are currently being active in the > grant table for a given domid? Do you really mean PFNs? For PV, the P <=> M relationship is guest-managed, and hence any value returned here would be stale by the time the