Re: question on #UD emulation

Avi Kivity
2007-12-16T15:07:03Z

Dong, Eddie wrote:
>
>
>> Since we don't emulate 3Dnow instructions, a #UD will be
>> injected instead.
>>
>>
> OK, how many architecture specific instructiosn are emulated now?
>

Just vmcall/vmmcall (which is emulated once, then patched).

> Or what is planed to be implemented? If no, then adding those
> emulation in KVM just means dead code.

sysenter/sysexit (which aren't implemented in amd compatibility mode)
and syscall/sysret (which aren't implemented in intel compatibility mode).

Both are only used for 32-bit userspace on 64-bit guests, so they aren't
too critical.

--
error compiling committee.c: too many arguments to function