On 08/17/2016 01:17 AM, Sergej Proskurin wrote: > This commit adds the function "altp2m_switch_vcpu_altp2m_by_id" that is > executed after checking whether the vcpu should be switched to a > different altp2m within the function "altp2m_check". > > Please note that in this commit, the function "p2m_altp2m_check" is > renamed to "altp2m_check" and moved from p2m.c to altp2m.c for the x86 > architecuture. This change was perfomed in order to move altp2m related > functions to one spot (which is altp2m.c). The reason for modifying the > function's name is due the association of the function with the > associated .c file. > > Signed-off-by: Sergej Proskurin <prosku...@sec.in.tum.de> > --- > Cc: Stefano Stabellini <sstabell...@kernel.org> > Cc: Julien Grall <julien.gr...@arm.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Andrew Cooper <andrew.coop...@citrix.com> > Cc: Razvan Cojocaru <rcojoc...@bitdefender.com> > Cc: Tamas K Lengyel <ta...@tklengyel.com> > --- > v3: This commit has been moved out of the commit "arm/p2m: Add altp2m > paging mechanism". > > Moved the function "p2m_altp2m_check" from p2m.c to altp2m.c and > renamed it to "altp2m_check". This change required the adoption of > the complementary function in the x86 architecture. > --- > xen/arch/arm/altp2m.c | 32 ++++++++++++++++++++++++++++++++ > xen/arch/x86/mm/altp2m.c | 6 ++++++ > xen/arch/x86/mm/p2m.c | 6 ------ > xen/common/vm_event.c | 3 ++- > xen/include/asm-arm/altp2m.h | 7 ++++--- > xen/include/asm-arm/p2m.h | 6 ------ > xen/include/asm-x86/altp2m.h | 3 +++ > xen/include/asm-x86/p2m.h | 3 --- > 8 files changed, 47 insertions(+), 19 deletions(-)
For the vm_event bits (there are only mechanical changes there): Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com> Thanks, Razvan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel