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

Set guest memory #839

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Set guest memory #839

merged 1 commit into from
Mar 28, 2024

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Mar 28, 2024

Previously we didn't set the guest memory but only memory request, since the guest memory property is optional and according to the documentation it "Defaults to the requested memory in the resources section if not specified.". However, if we don't set it and the migrated VM is based on a template, the value of this field would be retrieved from the template which may be different than what the VM had on the source and this could lead to issues, e.g., starting with insufficient memory for booting.

Previously we didn't set the guest memory but only memory request, since
the guest memory property is optional and according to the documentation
it "Defaults to the requested memory in the resources section if not
specified.". However, if we don't set it and the migrated VM is based on
a template, the value of this field would be retrieved from the template
which may be different than what the VM had on the source and this could
lead to issues, e.g., starting with insufficient memory for booting.

Signed-off-by: Arik Hadas <ahadas@redhat.com>
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ahadas
Copy link
Member Author

ahadas commented Mar 28, 2024

backport of #836

@ahadas ahadas merged commit dad46d4 into kubev2v:release-v2.6.0 Mar 28, 2024
6 checks passed
@ahadas ahadas deleted the release-v2.6.0 branch March 28, 2024 19:58
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