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

engine: Fix NPE when misconfiguring NUMA with hugepages #500

Merged
merged 1 commit into from Jun 27, 2022

Conversation

ljelinkova
Copy link
Collaborator

@ljelinkova ljelinkova commented Jun 27, 2022

When a VM with NUMA is set with hugepages with a size that is different than the one reported by the host, the
running of the VM fails with NPE in NumaPinningHelper.

This patch fixes the NPE.

When a VM with NUMA is set with a hugepages with a size
that is different than the one reported by the host, the
running of the VM fails with NPE in NumaPinningHelper.

This patch fixes the NPE.
@liranr23
Copy link
Member

When a VM with NUMA is set with a hugepages with a size that is different than the one reported by the host, the running of the VM fails with NPE in NumaPinningHelper.

This patch fixes the NPE.

and the VM still fail to run, right? :)

@ljelinkova
Copy link
Collaborator Author

When a VM with NUMA is set with a hugepages with a size that is different than the one reported by the host, the running of the VM fails with NPE in NumaPinningHelper.
This patch fixes the NPE.

and the VM still fail to run, right? :)

Yes :-) But this time with a proper message:
The host host-8-5 did not satisfy internal filter NUMA because cannot accommodate memory of VM's pinned virtual NUMA nodes within host's physical NUMA nodes..

@ahadas ahadas merged commit b4aa257 into oVirt:master Jun 27, 2022
@ljelinkova ljelinkova deleted the numa-hugepages branch June 29, 2022 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants