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

Re: inconsistent pfn type checking in process_page_data



Am Tue, 27 Oct 2020 23:18:47 +0000
schrieb Andrew Cooper <andrew.cooper3@xxxxxxxxxx>:

> I suspect we probably want an is_known_page_type() predicate on the
> source side to sanity check data from Xen, and on the destination side
> in handle_page_data() to sanity check data in the stream, and we
> probably want a page_type_has_data() predicate to use in
> write_batch()/process_page_data() to ensure that the handling is consistent.

From what I have seen, two (or three) helpers for sender and receiver will be 
needed:
is_known_page_type()
is_data_page_type()
maybe is_ptbl_page_type() for normalise/localise.

I will prepare a batch of changes in the coming days.


Olaf

Attachment: pgpccF_6DsZKi.pgp
Description: Digitale Signatur von OpenPGP


 


Rackspace

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