Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This technique works with any instruction that clobbers a register, not just with CPUID. In the worst case you could just single step the other CPUs until you hit an instruction that overwrites a register too. These are common.

In my case (for a custom hypervisor for a sadly cancelled project) it wasn't a problem because the hypervisor quit itself in early guest boot, which is single CPU only.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: