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

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


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 5 Jul 2021 12:36:20 +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=aDEIsMLkQL72Ggr9E7dr6K9o9lL1gTynJ5Heyl/v4ZM=; b=UKxMEytV4yYG91+5/pJa8LFktuvXNYpThQaWStktXekC4YneEJikTf9o+XUvSKCguxj97QTgx1b5yRMfiAW5/zpR3eY26+HaIkgPOu/hn8AGDVuD7NO0BNqBKUHJ/xRQ79nrEYXngL1/Q82mfsijKd+/tVL29uyvkwUTv2r2hmvI4SBFcBympe4/FKGV5fd4MeXFDO3kv8gietTdiTAnkusrY7R/AvZREdiprq7kYYbkmQRILW3FDMrAfh/aU1OZ14gDpjUyuj4oP3G7vhtn+qiyHVS6nGVyfh6ix/RdshS6bPMmWJEXU82a8UX5GJrVWA7hCQ0C/6oBGgU0/MMYWg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ONtv0ruDm2jhst+xEX2fjutqcfNcYgwQc69Rk/VcWxqriP+FXbGatS6pCfV0SNX3jhwTTcZoB/yme0i8XnNJY8bNpMTl4WD/5px46gAfnLIs61+3rFvX/z+PWIC8EMxcaH2WtXmXmjGotn1qoWbkLmMUD3ZxCUelwdGWu1VuKO7JpFJS1j1UI6UW8Qe0JWfJ+EWm2GKv97SZK0DA+tSOhLaQ7Ev5bQRyRHdqoSLkp93pWmZPF6+2E/srsFmnx9Cn2PFZdzDNG70Vh+G9qOE7MZL528zYKSnDPGqtQjItENyIffz70S8Lu6P6GCNN7hAv6OwZbK0itGWxF+qEVufF7Q==
  • Authentication-results: aepfle.de; dkim=none (message not signed) header.d=none;aepfle.de; dmarc=none action=none header.from=suse.com;
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Olaf Hering <olaf@xxxxxxxxx>
  • Delivery-date: Mon, 05 Jul 2021 10:36:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.07.2021 12:06, Andrew Cooper wrote:
> On 05/07/2021 10:31, Jan Beulich wrote:
>> 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.
> 
> That doesn't help - Its still racy with in-flight IO.

Well, I meant the recorded data to be used to simply not verify
those frames.

>  Also with updates from Xen such as the wallclocks.

This doesn't occur for a paused domain, does it?

> The only way to fix the IO problem is to disconnect the blk/net rings
> before doing the final sweep for frames, but that clobbers any ability
> to restart the VM on the source side if things go wrong at the destination.
> 
> I don't have an answer at all for the vcpu info frames.

Yeah, they fall in the same category as the FIFO control pages, as
they contain evtchn_{pending_sel,upcall_pending}.

Jan




 


Rackspace

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