Review Board 2.0.15


sim: Add a KvmVM parameter to the base system object.

Review Request #2526 - Created Nov. 23, 2014 and updated - Latest diff uploaded

Information
Gabe Black
gem5
default
Reviewers
Default
Changeset 10563:d80c97593576
---------------------------
sim: Add a KvmVM parameter to the base system object.

The inclusion of this parameter is gated on the USE_KVM build variable. By
making it a parameter and defaulting it to NULL, it can be found by a child
objects parameter proxy even if classes down the heirarchy or instantions of
them don't have a KvmVM parameter or child.

If KVM isn't available, the parameter won't be there. If it is but isn't being
used, it will be NULL. If some other VM mechanism is added in the future, the
type of the parameter can be generalized so that either type of VM can be
plugged in.