kvm, arm, dev: Add an in-kernel GIC implementation
Review Request #2837 - Created May 18, 2015 and submitted
| Information | |
|---|---|
| Andreas Sandberg | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10849:378ad81e9acd --------------------------- kvm, arm, dev: Add an in-kernel GIC implementation This changeset adds a GIC implementation that uses the kernel's built-in support for simulating the interrupt controller. Since there is currently no support for state transfer between gem5 and the kernel, the device model does not support serialization and CPU switching (which would require switching to a gem5-simulated GIC).
Tested with the gem5's aarch64 kvm implementation (see separate review request). Boots Linux and interacts nicely with the interactive console. Note: The kernel requires simulated devices to be well behaved and clear interrupts. This means that the PCI IDE device model doesn't work. Use the VirtIO block device instead.
Posted (May 19, 2015, 2:45 p.m.)
-
src/cpu/kvm/vm.hh (Diff revision 1) -
Should this go in a different file?
Just curious what is the usage scenario for this, it seems that it can be used to interrupt the VM even if there is no physical interrupt.
Review request changed
Updated (May 22, 2015, 10:19 a.m.)
Description: |
|
||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+618 -2) |
