Re: [PATCH] kvm-vmx: add module parameter to avoid trapping HLT instructions (v2)

Avi Kivity
2010-12-06T14:02:41Z

On 12/06/2010 04:01 PM, Avi Kivity wrote:
>> It's not just possible, it appears to be exactly what happens.
>>
>> I guess it makes sense that RIP gets advanced before HLT begins to wait.
>>
>
>
> It does. Good, it simplifies the patch.
>

btw, this is how kvm emulates HLT - first we advance rip, then we sleep
the vcpu.

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