Skip to content

virtq: specify endianness #1141

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

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

cagatay-y
Copy link
Contributor

The Virtio specification specifies little-endian as the correct endianness for its structs. Although it matches the native endianness of the platforms we support, this change allows us to match the specification explicitly.

@mkroening mkroening self-assigned this Apr 17, 2024
@mkroening
Copy link
Member

I am running into the same error with some completely unrelated changes, so this probably has nothing to do with this PR specifically.

@mkroening
Copy link
Member

The CI failure is #199 again. I'll come up with a proposal tomorrow. :)

The Virtio specification specifies little-endian as the correct endianness for its structs. Although it matches the native endianness of the platforms we support, this change allows us to match the specification explicitly.
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

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

Thanks! :)

@mkroening mkroening added this pull request to the merge queue Apr 23, 2024
Merged via the queue into hermit-os:main with commit 403d27f Apr 23, 2024
13 checks passed
@cagatay-y cagatay-y deleted the virtq-refactor-2 branch June 18, 2024 15:28
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