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

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


  • To: Jan Beulich <jbeulich@xxxxxxxx>, Olaf Hering <olaf@xxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 5 Jul 2021 11:06:43 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=vD5+6S7g5mH2XywkXQZuyOwCvE48NX2okNQE1cctsxY=; b=nQbkuhtZLY2Uml1lpk5XXdquih3JSRajkG5OS0KLJD+Jfp0aqyArzYHztjsW5YxVRLM4uGtDtqzBbaOntKseHIEq5dadhU4mT7j1h5RyRNcyzfHXWzFG7XevL2rLmA8zwppvaHf+jFyhxUjLYwAeNPnPZNZl0Xmd0DjDpr5wQoq/x6FQk0sdDW0MIyGwRpNX+JEB/Aeo5CWLUxDSpfi6q3lD6CE2wGwLsF7wdqjlIhQoTr4pCFMxtii0oOmUA2mmFQj+K6XoqpJ04TScYmZz3H1YWz/o+gIS2DmuTPCYuGzwFRMO9LC17i/9ayIIZNx5cEed3Kau6vUPjbAEPcqDcg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CjjFveKX+f3OQGdrqQKJPq5ANq1vAO9ZqDf7/aOcR9ylhprbfPGny6YyNwtT8yVLB+6mteKeRRNDzqJ2rtgWFahuHlVzeedpfQm3iOtTDJmgSrwdPQn+k5/DrSk5QvWH7vzWCUdS5j6wEX0gtSWvExRvSzixf0O0fQXrA+zASxl8E4Ft9IczQHWO1uEvY8X/asTsqYl788Xlx6lvN6I7zpk2lux1Fn+W8ffuE4l3SdYzBQK7dvfh82icC/ZBWuDt6LrEf77+knR1AdoWL+4P+EJ0l0tCVGrZzxj7K7QZEJx4acsIN4drh9Kae9RpAuIbqHenLUYci9KbizE8ZqnRzg==
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 05 Jul 2021 10:07:08 +0000
  • Ironport-hdrordr: A9a23:LxCkrKCfSlmUAYflHehBsceALOsnbusQ8zAXPh9KJyC9I/b2qy nxppgmPH/P6Ar4WBkb6LS90dq7MA3hHPlOkPYs1NaZLXXbUQ6TTb2KgrGSuAEIdxeOkNK1kJ 0QDpSWa+eAf2SS7/yKmDVQeuxIqLLsndHK9IWuu0uFDzsaDJ2Ihz0JeTpzeXcGPTWua6BJca Z0qvA33QZJLh8sH7SG7zQ+Lqf+juyOsKijTQ8NBhYh5gXLpTS06ITiGxzd+hsFSTtAzZor7G CAymXCl+SemsD+7iWZ+37Y7pxQltek4txfBPaUgsxQDjn3kA6naKloRrXHljEop+OE7kosjb D30lkdFvU2z0mUUnC+oBPr1QWl+i0p8WXexViRhmamidDlRRohYvAxx75xQ1/80Q4Nrdt82K VE0yayrJxMFy7Nmyz7+pzhSwxqrEypunAv+NRjzEC3abFuLIO5kLZvu3+8SPw7bWTHAcEcYa lT5fjnlbNrmQjwVQGBgoEHq+bcK0jaHX+9MwI/U4KuomBrdUtCvj0lLfok7zw9HaIGOu55Dt v/Q+1VfZF1P4IrhPFGdas8qfXeMB2EffuaChPiHb2gLtBdB07w
  • Ironport-sdr: g3eDuLWzwRcBNxi8TYNY6KahRQEBanD0AS+5+eBBGCHOGQic7EK4fEZyLj87huJmfyXyea/YkM NSN9UGOE4PM1XYA2RA3xKjDdavGJh5DEu6Ik/e/Fz+fgwjPN7nlAj6kdiDIx6G2cc83NVQKEv8 eFTZr29TnOVHVDj3UUDq2whDSR/BS6gPzi2Pj/XYEcF2qimzzLHcUN0UZu19cSZb5aY3xXU8RG c70a5pSYK+5o3fWIjTqgMq663kDSRtCCtW4ssIivaVNLyAKOIck5RCCpMTxOlU0orFZ2Cl0J4T I3g=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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.  Also with updates
from Xen such as the wallclocks.

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.

~Andrew




 


Rackspace

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