]> xenbits.xensource.com Git - xen.git/commit
x86/PVH: replace bogus assertion with conditional
authorJan Beulich <jbeulich@suse.com>
Tue, 4 Nov 2014 12:07:23 +0000 (13:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Nov 2014 12:07:23 +0000 (13:07 +0100)
commit01c019c843df313f62ca5c106544026867da9e9e
tree27ff1c20c957e1bb0d9c5c66165ede2b33c1728b
parentc9a1b736426b9ba5a96660ef3b23bb2f5100e79e
x86/PVH: replace bogus assertion with conditional

While PVH guests currently have to start in 64-bit mode, nothing keeps
them from entering compatibility mode via a suitable ring-0 code
selector and making a hypercall from there. Fail such attempts rather
than asserting they won't happen.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c