Re: Sanitize CPU-state when switching from virtual-8086 mode to othertask

From: H. Peter Anvin
Date: Tue Dec 31 2013 - 17:41:40 EST


On 12/31/2013 11:21 AM, Konrad Rzeszutek Wilk wrote:
>
> So, I am wondering if this is related to " x86/fpu: CR0.TS should be set before trap
> into PV guest's #NM exception handle" which does have a similar pattern - you
> do enough of the task switches and the FPU is screwed.
>
> See http://mid.gmane.org/1383720072-6242-1-git-send-email-gaoyang.zyh@xxxxxxxxxx
>
> (I thought there was a thread about this on LKML too but I can't
> find it).

That would be a bug in Xen, so I guess you're surmising a similar bug in
VirtualBox?

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/