x86: relax GDT check in arch_set_info_guest()
authorJan Beulich <jbeulich@suse.com>
Fri, 22 May 2020 14:09:54 +0000 (16:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 May 2020 14:09:54 +0000 (16:09 +0200)
commitded6e9d514902be17069b59b335c3165c601f86a
tree827fe3f2d0acf5c958f5243fe1979b2eed391b1d
parentb2d502466547e6782ccadd501b8ef1482c391f2c
x86: relax GDT check in arch_set_info_guest()

It is wrong for us to check frames beyond the guest specified limit
(in the compat case another loop bound is already correct).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain.c