Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Armbian internal: deploy Armbian qemu KVM instances #365

Merged
merged 8 commits into from
Jan 17, 2025
Merged

Conversation

igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented Jan 10, 2025

Description

Deploy Armbian QEMU VM. Current process works on x86 while for aarch64 / riscv64 we need a different approach.

Implementation Details

KVM

Documentation Summary

Usage: module_armbian_kvmtest <command> [switches]
Commands:  install remove save restore list help
Available commands:

	install	- Install kvmtest.
	remove	- Remove all virtual machines kvmtest.
	save	- Save state of all VM kvmtest.
	restore	- Restore all saved state of VM kvmtest.
	list	- Show available VM machines kvmtest.

Available switches:

	kvmprefix	- Name prefix (default = kvmtest)
	memory		- KVM memory (default = 2048)
	vcpus		- Virtual CPUs (default = 2)
	bridge		- Use network bridge br0,br1,... instead of default inteface
	instances	- Repetitions if more then 1
	provisioning	- File of command that is executed at first run.
	firstconfig	- Armbian first config.
	keyword		- Select only certain image, example: Focal_Jammy VM image.
	arch		- architecture of VM image.

Testing Procedure

Tested all features multiple times.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have ensured that my changes do not introduce new warnings or errors
  • No new external dependencies are included
  • Changes have been tested and verified
  • I have included necessary metadata in the code, including associative arrays

@github-actions github-actions bot added the size/medium PR with more then 50 and less then 250 lines label Jan 10, 2025
@igorpecovnik igorpecovnik force-pushed the virtual branch 23 times, most recently from 81cdab0 to 85cc83a Compare January 10, 2025 14:22
@igorpecovnik igorpecovnik added 02 Milestone: First quarter release Work in progress Unfinished / work in progress labels Jan 10, 2025
@igorpecovnik igorpecovnik force-pushed the virtual branch 24 times, most recently from c2b3cfc to 03a0fbe Compare January 17, 2025 08:05
@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge and removed Needs review Seeking for review labels Jan 17, 2025
@igorpecovnik igorpecovnik merged commit 302c1e1 into main Jan 17, 2025
16 checks passed
@igorpecovnik igorpecovnik deleted the virtual branch January 17, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
02 Milestone: First quarter release Ready to merge Reviewed, tested and ready for merge size/medium PR with more then 50 and less then 250 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants