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

add option to configure the number of cores and the memory size of the VM #428

Merged
merged 1 commit into from
Feb 23, 2025

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented Feb 23, 2025

runh reads the file /etc/runh/config.toml. An example is published below. The entry kvm enables the usage of KVM to accelerate the hypervisor. smp specifies the number of core, while memory_size specifies the memory size (in MiB) für the virtual machine.

# enable/disable KVM support
kvm = true
# defines the number of cores
smp = 1
# Default memory size in MiB
memory_size = 1024

@stlankes stlankes enabled auto-merge February 23, 2025 13:47
@stlankes stlankes added this pull request to the merge queue Feb 23, 2025
@stlankes stlankes removed this pull request from the merge queue due to a manual request Feb 23, 2025
@stlankes stlankes added this pull request to the merge queue Feb 23, 2025
Merged via the queue into hermit-os:main with commit 3d4e687 Feb 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant