How kanishkm08/gem5_hds-kvm works
gem5 is a configurable computer-system simulator. The documented workflow is to configure and launch a full-system simulation, optionally using KVM before switching to a timing CPU, then inspect the guest’s serial output. The graph also preserves the documented Ruby/network setup and major configuration/runtime layers. Some configuration and simulator internals were not excerpted; edges for documented workflow steps cite the README, and internal links use SOURCE INDEX references rather than assumptions about unsampled code.
Main entry points: Simulation.py Run configuration · FileSystemConfig.py Full-system setup · MemConfig.py Memory setup · ObjectList.py Object registry
Components 18
Simulation configuration
- Run configuration
gem5-23.0.0.1/configs/common/Simulation.py - Full-system setup
gem5-23.0.0.1/configs/common/FileSystemConfig.py - Memory setup
gem5-23.0.0.1/configs/common/MemConfig.py - Object registry
gem5-23.0.0.1/configs/common/ObjectList.py - Ruby coherence
gem5-23.0.0.1/configs/ruby/Ruby.py - Network topology
gem5-23.0.0.1/configs/topologies/BaseTopology.py
Simulator runtime
- Parameter system
gem5-23.0.0.1/src/python/m5/params.py - SimObject model
gem5-23.0.0.1/src/python/m5/SimObject.py - Runtime API
gem5-23.0.0.1/src/python/gem5/runtime.py - Statistics storage
gem5-23.0.0.1/src/base/stats/storage.cc
System models
- Minor CPU pipeline
gem5-23.0.0.1/src/cpu/minor/pipeline.cc - GPU memory pipeline
gem5-23.0.0.1/src/gpu-compute/global_memory_pipeline.cc - GPU SDMA engine
gem5-23.0.0.1/src/dev/amdgpu/sdma_engine.cc - PCI copy engine
gem5-23.0.0.1/src/dev/pci/copy_engine.cc
Guest and host interfaces
- KVM acceleration
- Guest system
- Serial terminal
Other components
- Simulation user
Connections 13
- Simulation user → Run configuration: configures and launches
- Run configuration → Full-system setup: configures guest
- Run configuration → Memory setup: configures memory
- Run configuration → Ruby coherence: selects Ruby
- Run configuration → Network topology: selects topology
- Memory setup → Object registry: uses registry
gem5-23.0.0.1/configs/common/MemConfig.py - Object registry → Runtime API: queries runtime
gem5-23.0.0.1/configs/common/ObjectList.py - Full-system setup → SimObject model: configures objects
gem5-23.0.0.1/configs/common/FileSystemConfig.py - Run configuration → KVM acceleration: enables acceleration
- Run configuration → Minor CPU pipeline: switches to timing CPU
- Run configuration → Guest system: starts full-system run
- Guest system → Serial terminal: emits serial output
- Simulation user → Serial terminal: connects to port