]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests
authorSimon Gaiser <simon@invisiblethingslab.com>
Wed, 7 Feb 2018 20:47:40 +0000 (21:47 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 8 Feb 2018 09:40:49 +0000 (10:40 +0100)
commitc164b9a6d05e60e09d7592fc8bfa36a4af347935
tree9833d89b6977a96bcd309df5f714e50a82f6e4bd
parentb47a28a59a7018384963b42517b0ac921bacef51
xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests

Commit 228570ad29df ("xen: remove tests for pvh mode in pure pv paths")
removed the check for autotranslation from {set,clear}_foreign_p2m_mapping
but those are called by grant-table.c also on PVH/HVM guests.

Cc: <stable@vger.kernel.org> # 4.14
Fixes: 228570ad29df ("xen: remove tests for pvh mode in pure pv paths")
Signed-off-by: Simon Gaiser <simon@invisiblethingslab.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/p2m.c