x86emul: respect NSCB
authorJan Beulich <jbeulich@suse.com>
Mon, 31 Oct 2022 12:19:35 +0000 (13:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 31 Oct 2022 12:19:35 +0000 (13:19 +0100)
commit5dae06578cd5dcc312175b00ed6836a85732438d
tree084d3a6b887567f24ca880665660a64bc745ac2a
parente5a5bdeba6a0c3eacd2ba39c1ee36b3c54e77dca
x86emul: respect NSCB

protmode_load_seg() would better adhere to that "feature" of clearing
base (and limit) during NULL selector loads.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 87a20c98d9f0f422727fe9b4b9e22c2c43a5cd9c
master date: 2022-10-11 14:30:41 +0200
xen/arch/x86/x86_emulate/x86_emulate.c