[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tools/libxenguest: Fix migration's debug option


  • To: Olaf Hering <olaf@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 5 Jul 2021 11:31:09 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VSS7ab6faEUx22k8Q5SlASYn33rjfL9dM86O77nepwY=; b=ILx7CrcJnCkT9RlseQcVRu/19o5r/sDzUQlw6das65AzZyY1D0/M02G+pinNakC1Bbyzg8J3ufTPtxzYItt6NrAJhxu90RJB5KpuxqU43HkRdonNOS5uKKJlpa9hiIhgvubL+HuOfXkaktL2eqgyhlc5uNFNAGOC18oV8XsA54X5QX4CF6h95vqD2hTlpmdX01mX0MsZh9yVSXUkcmSbWoVAbBYrwtl9lQpwjMJJvUY94LmY36j7/JRPxTUGXt05WViQNLZDFKtEwuD7Iy0ocHAIiLSC1l15MuPOjTIOZP1VYtEKkUSAAIi+vyI5mYXSKc6NqdrdQ/SWMgqdOTRWEw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b0zbW8vcPROfrUgGbH4VVd9gv7H+hQ3oUcoJN/sVSn/UYT9R2Bd8YVCKlpygukYPga+WSVk4UWGl3ixAqSzlKxGdqCdZ0mhqXNY4qw4/DZo+W0bEGIUReun6Yvc7gTYHzThbI3jk7JycF5rRSYtBsjdnmyTdjzpmEssE5UaOUj5husPt1vKdDPJc65zGgjmnFsA5B30A84agOWV2D4bRneBxamEmtjAoV6Rt6hUJHMDPZSBek1b0+9/MuvpdRdDI6Uf5TgdxQv1xM74FTt3shiMFspu9+WV56GwrekU5OgwXlTP7rhPMC33T8drovrmiH1PwWrCyjkszLjf2dkLHFg==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 05 Jul 2021 09:31:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.07.2021 11:25, Olaf Hering wrote:
> Am Mon, 5 Jul 2021 11:19:59 +0200
> schrieb Jan Beulich <jbeulich@xxxxxxxx>:
> 
>> "The interface" being which one? The tool stack can map the guest's
>> grant table, so it is in the position to find out about all grants
>> without further hypervisor help.
> 
> The interface means the code behind verify_frames.
> 
> If there are indeed ways to query which pages belong to grants, how would the 
> toolstack need to do that?

Map the grant table of the guest and walk it, recording any MFN for
which at least one valid r/w grant exists.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.