mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 10:15:45 +00:00
07bad79fd7
The expansion ROM BAR reprogramming was being triggered for the wrong reason and was causing the following error to be reported: ERROR:pci/src/bus.rs:207 -- Failed moving device BAR: failed allocating new 32 bits MMIO range Following the PCI specification, here is what is defined: Device independent configuration software can determine how much address space the device requires by writing a value of all 1's to the address portion of the register and then reading the value back. This means we cannot expect 0xffffffff to be written, as the address portion corresponds to the bits 31-11. That's why whenever the size of this special BAR is being asked for, the value being written is 0xfffff800. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |