[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 10:23:00 +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=6I6mIlcgCPFdIPQ9lBmvmFHFSFqhliUgJ9G7du5aNmQ=; b=UjN7+91zY+GR9dMtgkY0rjIgA7k44ugslwV33lkMWh7ETzcn6gCWbEb0s2d2WlwM3C/DviKMv4Hw9+N+aHaLbK0ft7m2H4ruVDa5Peo5xU+zWjG6Ukm1crB+mWwlmzcuoiUcttQ43jN7tUO/b+D01GkqhXBUdg7KRwgEG3/w6AeXBkil4BHnT5nG/tlbeNHU1c5gohRQrT7RwAzHD51IakoQb9uGqniOescbUvwf7bH2l6eYVWlx+HwT+Jhd84UAz2XSjNGGKFn5QJ3Oqi1FkzRg3XIK5Agxjgmg/R0mx3XzF5CGgkgpxSns7QBVShzoyEg5JvLrVvUrLJs88zkX/g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LDxzAHj0c/X+8UcvDdLaub8tfE/nr6K5tklmYhUfUlBkp7Nl7ZSducvurAEhkOcSo+8pdd2uuNLdIy6Rp/aXPTnup7QmW5BUR8DQwM7b9BEykr3rq7qvet4DG8btCPNzuB4qc72zJglMBo6WoMY+r/9tWLtf04Nu+Hl+2hfcOBuG0cQSNA7ll7DDBxjh4Lt4Rg/pl5XhtGGanc3l+Ece3XUROIJZKHJi0WMEcszcrg40GbBIw5d5w57G3ploScd3jTL/9O29JeeGKUQcb0szTcEAdtICVF5Q3EUB1fjt+pAwUZiwdQd583kk+iu28UAgeeqpf9l2cqaQLs826daSmA==
  • 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 08:23:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.07.2021 10:02, Olaf Hering wrote:
> Am Mon, 5 Jul 2021 09:57:21 +0200
> schrieb Jan Beulich <jbeulich@xxxxxxxx>:
> 
>> What is "the grant problem" referring to here? Neither anything above
>> nor the offending original commit has any reference to grants, or a
>> problem with them.
> 
> When the guest is paused during final transit, the backends will
> continue to write into domU memory. As a result the final additional
> iteration to verify memory on both sides will always see errors.

I see. A similar problem then exists with at least the FIFO event
channel per-vCPU control blocks?

> The code has no way to know for which pfn such mismatches in page
> content can safely be ignored.

Well, in principle this can be known, but it's expensive: For a
paused domain the grant table can't change anymore. Any pages
referenced by a valid non-r/o grant table entry could in principle
change.

Jan




 


Rackspace

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