On Thu, Oct 22, 2020 at 6:16 PM Bin Meng <[email protected]> wrote: > > From: Bin Meng <[email protected]> > > Per the SDM, when returning to outer privilege level, for segment > registers (ES, FS, GS, and DS) if the check fails, the segment > selector becomes null, but QEMU clears the base/limit/flags as well > as nullifying the segment selector, which should be a spec violation. > > Real hardware seems to be compliant with the spec, at least on one > Coffee Lake board I tested. > > Signed-off-by: Bin Meng <[email protected]> > --- > > target/i386/seg_helper.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >
Ping?
