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

pci: Handle overflow on 32-bit PCI BAR calculation #241

Merged

Conversation

retrage
Copy link
Contributor

@retrage retrage commented Mar 21, 2023

Rust Hypervisor Firmware panics on the overflow with debug build on x86_64.

This PR proposes:

  • 7ff9dea: Fix typo
  • 62558d1: Handle overflow on 32-bit PCI BAR size calculation

retrage added 2 commits March 21, 2023 17:53
Signed-off-by: Akira Moroo <[email protected]>
The firmware panics if the calculated 32-bit BAR size overflows on debug
build.

Signed-off-by: Akira Moroo <[email protected]>
@retrage retrage requested a review from rbradford March 21, 2023 08:56
@retrage retrage enabled auto-merge (rebase) March 21, 2023 09:17
@retrage retrage merged commit 573f46c into cloud-hypervisor:main Mar 21, 2023
@retrage retrage deleted the 2023-03-21-fix-32-bit-pci-bar-size branch March 21, 2023 10:00
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.

2 participants