I'd like to detect when the kernel stack changes and it seems to me that
might be possible by looking at when the tss structure is accessed and
the esp element is changed. Linux uses a command something like the
following to update the esp in the tss during a task switch...

init_tss[smp_processor_id( )].esp0 = next->thread.esp0;

Is it possible to detect when this happens in qemu? Maybe in the
protected_interrupt helper function?

Thanks,
Nuri


Reply via email to