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

Allows the VM's limits.memory configuration to be set to a percentage value #1270

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

itviewer
Copy link
Contributor

@itviewer itviewer commented Oct 1, 2024

fix #1261

Just extract the logic of driver_lxc.go for the memory percentage value into a function and apply it to driver_qemu.go

…set to a percentage value

Signed-off-by: XinJun Ma <xinjun.ma@qq.com>
@stgraber stgraber merged commit d493809 into lxc:main Oct 1, 2024
30 checks passed
@stgraber
Copy link
Member

stgraber commented Oct 1, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

When limits.memory is set to a percentage, an error occurs when starting a virtual machine
2 participants