kvm: Add support for multi-system simulation
Review Request #2159 - Created Feb. 9, 2014 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Andreas Sandberg | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10062:4fea5050f4f2 --------------------------- kvm: Add support for multi-system simulation The introduction of parallel event queues added most of the support needed to run multiple VMs (systems) within the same gem5 instance. This changeset fixes up signal delivery so that KVM's control signals are delivered to the thread that executes the CPU's event queue. There are currently no facilities to multiplex between multiple KVM CPUs in the same event queue, we are therefore limited to configurations where there is only one KVM CPU per event queue. In practice, this means that multi-system configurations can be simulated, but not multiple CPUs in a shared-memory configuration.
Tested boot and interactive use of single CPU system -- works. Tested boot of dual-system configuration and interactive use -- works. Did not run regressions as the current tests do not test KVM functionality. Also available from the multisys branch in git://github.com/andysan/gem5.git.
