kvm, x86: Guard x86-specific APIs in KvmVM
Review Request #2760 - Created May 7, 2015 and submitted
| Information | |
|---|---|
| Andreas Sandberg | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10837:40beaa8357a6 --------------------------- kvm, x86: Guard x86-specific APIs in KvmVM Protect x86-specific APIs in KvmVM with compile-time guards to avoid breaking ARM builds.
ARM regressions pass. All backends build. Tested building with KVM support on x86 and ARMv8.
Posted (May 19, 2015, 9:26 a.m.)
-
src/cpu/kvm/vm.hh (Diff revision 1) -
Would it be useful/cleaner to specialize this class for x86 and move CPUIDVector, MSRIndexVector and getSupportedCPUID into the derived class?
Ship It!
