Re: [Xen-devel] [PATCH v3 extra 00/11] x86: refactor mm.c: page APIs and hypercalls

2017-07-31 Thread Jan Beulich
>>> Wei Liu 07/30/17 5:43 PM >>> >Note that in the stubs I choose to return EINVAL but maybe we should just BUG() >there because those paths aren't supposed to be taken when !CONFIG_PV. And I'm >sure common code will BUG_ON() or BUG() sooner or later. Thoughts? BUG() - yes, please. Jan ___

[Xen-devel] [PATCH v3 extra 00/11] x86: refactor mm.c: page APIs and hypercalls

2017-07-30 Thread Wei Liu
This series is built on top of the "easy part" [0] (and rebased on top of current staging). After discussing with George and Andrew on IRC, it is clear that alloc_page_type and free_page_type are only useful for PV guests. This immediately enables us to move them and the supporting code to PV dire