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

CA-403633: Keep vPCI devices in the same order #6176

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

psafont
Copy link
Member

@psafont psafont commented Dec 12, 2024

QEMU orders devices by the time of plugging. Parallelizing them introduces randomness, which breaks the assumption that devices are ordered in a deterministic way.

Serialize all PCI and VUSB plugs to restore behaviour.

This fix has been manually tested by @freddy77 against an affected VM relying on the ordering

QEMU orders devices by the time of plugging. Parallelizing them introduces
randomness, which breaks the assumption that devices are ordered in a
deterministic way.

Serialize all PCI and VUSB plugs to restore behaviour.

Signed-off-by: Pau Ruiz Safont <[email protected]>
@psafont
Copy link
Member Author

psafont commented Dec 12, 2024

We could parallelize the plugs, but then the slot information needs to be calculated in a deterministic way, at least per-host, and before plugging

@psafont psafont added this pull request to the merge queue Dec 12, 2024
Merged via the queue into xapi-project:master with commit 9aa2baa Dec 12, 2024
15 checks passed
@psafont psafont deleted the private/paus/order_some_plugs branch December 12, 2024 14:56
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.

4 participants