]> xenbits.xensource.com Git - xen.git/commit
x86/pv: disallow access to unknown MSRs
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 15 Sep 2020 10:42:58 +0000 (12:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Sep 2020 10:42:58 +0000 (12:42 +0200)
commit322ec7c89f6640ee2a99d1040b6f786cf04872cf
tree6eca2275a391b8396bfdcaed47c7773e35c6421c
parent8a31c255afab71f30f0fa1f8c7cef309aa2ec483
x86/pv: disallow access to unknown MSRs

Change the catch-all behavior for MSR not explicitly handled. Instead
of allow full read-access to the MSR space and silently dropping
writes return an exception when the MSR is not explicitly handled.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/pv/emul-priv-op.c