kvm: Only include KVM support for supported kernels
Review Request #2029 - Created Sept. 30, 2013 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9899:d1c321ce2faf --------------------------- kvm: Only include KVM support for supported kernels This patch adds a check to ensure that the KVM API provided by the running kernel is what we are expecting.
Now works again on Ubuntu 10.04.
This isn't an ideal solution since we could run on 2.6.32 kernels (although drainnig wouldn't be completely reliable). Anyway, push this change to get things rolling again. A better long-term solution would be to include the header in the source (that's what qemu does), but there might be licensing issues preventing us from doing that.
