Re: [Xen-devel] [PATCH RFC] x86/32on64: don't modify guest descriptors without need

2016-09-01 Thread Jan Beulich
>>> On 01.09.16 at 16:37, wrote: > On 29/08/16 14:57, Jan Beulich wrote: >> The less obvious (and potentially controversial) part is that of a call >> gate with DPL < selector.RPL: Such gates can't be used either without >> the hardware raising #GP, but the specific case of DPL=0 gets handled >> i

Re: [Xen-devel] [PATCH RFC] x86/32on64: don't modify guest descriptors without need

2016-09-01 Thread Andrew Cooper
On 29/08/16 14:57, Jan Beulich wrote: > There are two cases: The obvious one is that system gates with type 0 > shouldn't have what might be their DPL altered - such descriptors can't > be used anyway without incurring a #GP, and hence adjusting its DPL is > only risking to confuse the guest. This

[Xen-devel] [PATCH RFC] x86/32on64: don't modify guest descriptors without need

2016-08-29 Thread Jan Beulich
There are two cases: The obvious one is that system gates with type 0 shouldn't have what might be their DPL altered - such descriptors can't be used anyway without incurring a #GP, and hence adjusting its DPL is only risking to confuse the guest. The less obvious (and potentially controversial) p