* The performance counter framework will initialize the LVTPC
* vector as NMI. We can't disable the framework but the kernel loader
* script will do 'echo 2 > /proc/sys/kernel/perf_counter_paranoid'
* which hopefilly prevents any usage of hardware performance counters
* and therefore triggering of NMIs.
a workaround that makes the problem hopefully unlikely to occur but isnt a guarantee that it won't. this is essentially the exact same patch the virtualbox team uses on the newer version, they've set it for 2.6.31 and greater so i've left it unchanged. i'll quickly test for 2.6.30
as the comment that goes with the patch says,
* The performance counter framework will initialize the LVTPC kernel/ perf_counter_ paranoid'
* vector as NMI. We can't disable the framework but the kernel loader
* script will do 'echo 2 > /proc/sys/
* which hopefilly prevents any usage of hardware performance counters
* and therefore triggering of NMIs.
a workaround that makes the problem hopefully unlikely to occur but isnt a guarantee that it won't. this is essentially the exact same patch the virtualbox team uses on the newer version, they've set it for 2.6.31 and greater so i've left it unchanged. i'll quickly test for 2.6.30