Re: i686 quirk for AMD Geode

H. Peter Anvin
2009-11-12T05:38:33Z

On 11/11/2009 09:27 PM, Willy Tarreau wrote:
>
> Right. However we just noticed that with the KVM emulator, you
> can make it loop for a long time if you feed it with prefixes
> only. For instance, write a function which does zillions of 0x66
> (data size prefix) then return (0xC3) : 66 66 66 ... 66 C3.
>
> This is typically the sort of things we must be very careful about
> in emulators, because we don't want users to steal large amounts
> of system CPU time doing nothing.
>

That is a (serious) bug in the KVM interpreter, and indeed the exact
kind of issues interpreters tend to have... which is why I'd like one
piece of code with one set of bugs, and more eyeballs on that one piece
of code so they can be fixed.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.