commit | b512e1b077e5ccdbd6e225b15d934ab12453b70a | [log] [tgz] |
---|---|---|
author | Jan Beulich <jbeulich@suse.com> | Mon Feb 15 08:50:08 2021 +0100 |
committer | Juergen Gross <jgross@suse.com> | Mon Feb 15 08:50:08 2021 +0100 |
tree | 3400354ce158db8092efaffa987542d9d72403a4 | |
parent | a35f2ef3b7376bfd0a57f7844bd7454389aae1fc [diff] |
Xen/x86: also check kernel mapping in set_foreign_p2m_mapping() We should not set up further state if either mapping failed; paying attention to just the user mapping's status isn't enough. Also use GNTST_okay instead of implying its value (zero). This is part of XSA-361. Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: stable@vger.kernel.org Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>