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

restapi: Use cpuPinningPolicy from template #649

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

smelamud
Copy link
Member

Include cpuPinningPolicy when extracting data from a VM template for creating a VM through REST API.

Fixes #633

Change-Id: I139d3c9c00a005610eebe172272a45b3f37ace27
Signed-off-by: Shmuel Melamud smelamud@redhat.com

@ljelinkova
Copy link
Contributor

TBH I was not aware that we copy the values here. I think we might have missed even more properties - could you please check if cpuPinning string and parallel migrations work correctly?

Include cpuPinningPolicy, cpuPinning, parallelMigrations fields when
extracting data from a VM template for creating a VM through REST API.

Fixes oVirt#633

Change-Id: I139d3c9c00a005610eebe172272a45b3f37ace27
Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
@smelamud
Copy link
Member Author

@ljelinkova You've been right - these fields were also missing. Updated the patch.

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

@ljelinkova ljelinkova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for checking the additional fields.

@ljelinkova ljelinkova merged commit df63bc6 into oVirt:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants