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

Re: [PATCH v20210701 12/40] tools: unify type checking for data pfns in migration stream

Am Fri, 2 Jul 2021 20:43:13 +0100
schrieb Andrew Cooper <andrew.cooper3@xxxxxxxxxx>:

> Anyone adding a new page type is going to have to audit/edit each of
> these helpers.  I think it would be better to write all the true cases
> explicitly.

You mean the check if a page has data or needs to be populated should look like 
sr_is_known_page_type, where each known variant is listed?


Attachment: pgpAXrHYz9663.pgp
Description: Digitale Signatur von OpenPGP



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