Temporary fix for guest idle detection.
authorPeter Grehan <grehan@FreeBSD.org>
Mon, 9 Jun 2014 21:02:48 +0000 (21:02 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Mon, 9 Jun 2014 21:02:48 +0000 (21:02 +0000)
commit3787148758071e875aefda3fe44a551d9c2ed4a2
treea568272de9288170faea4c5e20d791ffd39fb9ad
parent1cc0e0eedb813ad430588beeed0331ddc50502ef
Temporary fix for guest idle detection.

Handle ExtINT injection for SVM. The HPET emulation
will inject a legacy interrupt at startup, and if this
isn't handled, will result in the HLT-exit code assuming
there are outstanding ExtINTs and return without sleeping.

svm_inj_interrupts() needs more changes to bring it up
to date with the VT-x version: these are forthcoming.

Reviewed by: neel
sys/amd64/vmm/amd/svm.c