]> xenbits.xensource.com Git - xen.git/commit
x86emul: in_longmode() should not ignore ->read_msr() errors
authorJan Beulich <jbeulich@suse.com>
Wed, 23 Nov 2016 14:27:47 +0000 (15:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 23 Nov 2016 14:27:47 +0000 (15:27 +0100)
commit122dd9575c7a3b503e8f4aec64d16e8986a0bb91
treea9d21ae78fa671b89d266d00178b70c40fecad1b
parent0af1b466c4489fca6640de4c49cc9efaad51538e
x86emul: in_longmode() should not ignore ->read_msr() errors

All present hook implementations succeed for EFER, but we shouldn't
really build on this being the case.

Suggested-by: George Dunlap <george.dunlap@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c