Re: [Xen-devel] [PATCH] Introduce a p2m class.

2015-01-29 Thread Tim Deegan
At 14:57 -0800 on 26 Jan (1422280671), Ed White wrote: > Use the class to differentiate between host and nested p2m's, and > potentially other classes in the future. > > Fix p2m class checks that implicitly assume nested and host are > the only two classes that will ever exist. > > Signed-off-by:

Re: [Xen-devel] [PATCH] Introduce a p2m class.

2015-01-27 Thread Jan Beulich
>>> On 26.01.15 at 23:57, wrote: > --- a/xen/include/asm-x86/p2m.h > +++ b/xen/include/asm-x86/p2m.h > @@ -172,6 +172,11 @@ typedef unsigned int p2m_query_t; > (P2M_RAM_TYPES | P2M_GRANT_TYPES | \ >p2m_to_mask(p2m_map_foreign))) > >

[Xen-devel] [PATCH] Introduce a p2m class.

2015-01-26 Thread Ed White
Use the class to differentiate between host and nested p2m's, and potentially other classes in the future. Fix p2m class checks that implicitly assume nested and host are the only two classes that will ever exist. Signed-off-by: Ed White --- xen/arch/x86/hvm/hvm.c | 2 +- xen/arch/x8