Re: [Xen-devel] [PATCH v2] x86: segment attribute handling adjustments

2017-01-20 Thread Andrew Cooper
On 20/01/17 08:26, Jan Beulich wrote: > Null selector loads into SS (possible in 64-bit mode only, and only in > rings other than ring 3) must not alter SS.DPL. (This was found to be > an issue on KVM, and fixed in Linux commit 33ab91103b.) > > Further arch_set_info_hvm_guest() didn't make sure

[Xen-devel] [PATCH v2] x86: segment attribute handling adjustments

2017-01-20 Thread Jan Beulich
Null selector loads into SS (possible in 64-bit mode only, and only in rings other than ring 3) must not alter SS.DPL. (This was found to be an issue on KVM, and fixed in Linux commit 33ab91103b.) Further arch_set_info_hvm_guest() didn't make sure that the ASSERT()s in hvm_set_segment_register()