diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-04-22 13:20:32 -0400 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-04-22 13:20:32 -0400 |
commit | dc83d234254861f142854bdf523581101c3d5c8d (patch) | |
tree | ee5454fa6619ed8a3193478f5ed9263959c0a29a /src/cpu/cpuevent.cc | |
parent | 7865d6e8386c3b2ff509347991ec8961ae2a5b96 (diff) | |
download | gem5-dc83d234254861f142854bdf523581101c3d5c8d.tar.xz |
tests: Add support for testing KVM-based CPUs
This changeset adds support for initializing a KVM VM in the
BaseSystem test class and adds the following methods in run.py:
require_file -- Test if a file exists and abort/skip if not.
require_kvm -- Test if KVM support has been compiled into gem5 (i.e.,
BaseKvmCPU exists) and the KVM device exists on the
host.
Diffstat (limited to 'src/cpu/cpuevent.cc')
0 files changed, 0 insertions, 0 deletions