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

Leading 0 cell removed when pretty printing #33

Open
bjorn3 opened this issue Apr 27, 2024 · 1 comment
Open

Leading 0 cell removed when pretty printing #33

bjorn3 opened this issue Apr 27, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@bjorn3
Copy link

bjorn3 commented Apr 27, 2024

PCI Host bridges have a property called bus-range. This property is for example bus-range = <0x00 0xff> indicating a range from 0 to 255 (inclusive). This crate however prints it as bus-range = <0xff>, which confused me for a bit as I thought QEMU was omitting the begin of the range and only emitted the end. It was only when I printed the raw bytes that I realized it an error in the way this crate printed the property.

@repnop
Copy link
Owner

repnop commented May 2, 2024

Thanks for the bug report! I'll take a look and see what I can do about it.

@repnop repnop added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels May 2, 2024
@repnop repnop added this to the v0.2.0 milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants