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.
PCI Host bridges have a property called
bus-range
. This property is for examplebus-range = <0x00 0xff>
indicating a range from 0 to 255 (inclusive). This crate however prints it asbus-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.