Re: [RFC PATCH v3 0/4] Real mode interrupt injection

Avi Kivity
2010-08-16T14:16:04Z

On 08/16/2010 04:28 PM, Mohammed Gamal wrote:
>
>> I debugged this for a bit - emulate_int_real() is completely broken.
>> emulate_push() doesn't push anything, it only schedules a push; running
>> these back-to-back will result in only the last push to be executed.
>>
> So we need write back the decode cache after each push. Or let
> emulate_push() change the emulation context directly. Please CMIIW

I wrote a push_std() that uses ->write_std() instead of
->write_emulated() and can be used back-to-back. Long term we'll need a
write queue but for the short term this will do.

I'll clean up my patches and push them later on.

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