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

neonvm: handle sysfs scaling mode in migrations #1179

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

mikhail-sakhnov
Copy link
Contributor

@mikhail-sakhnov mikhail-sakhnov commented Dec 13, 2024

We need to sync CPUs only if we have QMP mode active. For sysfs scaling CPU state should sync automatically.

Related to #850 and #1111

@mikhail-sakhnov mikhail-sakhnov force-pushed the misha/fix-migration-controller-scaling branch from b6ff9d4 to dac0c41 Compare December 13, 2024 13:10
Copy link

github-actions bot commented Dec 13, 2024

No changes to the coverage.

HTML Report

Click to open

@mikhail-sakhnov mikhail-sakhnov marked this pull request as ready for review January 9, 2025 12:22
@mikhail-sakhnov mikhail-sakhnov force-pushed the misha/fix-migration-controller-scaling branch from dac0c41 to 73b56a9 Compare January 14, 2025 08:28
@sharnoff sharnoff assigned mikhail-sakhnov and unassigned sharnoff Jan 21, 2025
@Omrigan Omrigan removed their assignment Jan 21, 2025
If source VM uses sysfs cpu scaling mode we don't
need to perform any QMP related sync operations
during the migration

Signed-off-by: Misha Sakhnov <[email protected]>
@mikhail-sakhnov mikhail-sakhnov force-pushed the misha/fix-migration-controller-scaling branch from 73b56a9 to 4724f6b Compare January 23, 2025 13:18
@mikhail-sakhnov
Copy link
Contributor Author

@sharnoff I resolved all discussions as @Omrigan was indeed right and the whole change could be replaced with basically dropping qmpsync operation

Copy link
Contributor

@Omrigan Omrigan left a comment

Choose a reason for hiding this comment

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

I changed PR description a bit.

@mikhail-sakhnov mikhail-sakhnov merged commit 75fbc99 into main Jan 23, 2025
23 checks passed
@mikhail-sakhnov mikhail-sakhnov deleted the misha/fix-migration-controller-scaling branch January 23, 2025 18:54
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.

3 participants