Re: [Xen-devel] [PATCH v5 05/23] x86/mm: move ro page fault emulation code

2017-09-22 Thread Jan Beulich
>>> On 14.09.17 at 14:58, wrote: > --- /dev/null > +++ b/xen/include/asm-x86/pv/mm.h > @@ -0,0 +1,38 @@ > +/* > + * asm-x86/pv/mm.h > + * > + * Memory management interfaces for PV guests > + * > + * Copyright (C) 2017 Wei Liu > + * > + * This program is

[Xen-devel] [PATCH v5 05/23] x86/mm: move ro page fault emulation code

2017-09-14 Thread Wei Liu
Move the code to pv/ro-page-fault.c. Create a new header file asm-x86/pv/mm.h and move the declaration of pv_ro_page_fault there. Include the new header file in traps.c. Fix some coding style issues. The prefixes (ptwr and mmio) are retained because there are two sets of emulation code in the