-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target: Implement QEMU target runner
Add support for launching emulated targets on QEMU. This requires having buildroot and QEMU packages installed on host machine. Newly introduced QEMUTargetRunner class is a simple wrapper around TargetRunner which is also a new class to manage target runners like QEMU: - perform sanity checks to ensure QEMU executable, rootfs and kernel images exist, - build QEMU parameters properly, - create Target class based object, - let TargetRunner start QEMU process to launch the guest OS and stop it once the target is done. Also add a new test case in ``tests/spin_targets.py`` to ensure devlib can run a QEMU target and execute some basic commands on it. Signed-off-by: Metin Kaya <[email protected]>
- Loading branch information
Showing
5 changed files
with
238 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters