cloud-hypervisor/pci
Sebastien Boeuf b157181656 pci: Fix the way PCI configuration registers are being written
The way the function write_reg() was implemented, it was not keeping
the bits supposed to be read-only whenever the guest was writing to one
of those. That's why this commit takes care of protecting those bits,
preventing them from being updated.

The tricky part is about the BARs since we also need to handle the very
specific case where the BAR is being written with all 1's. In that case
we want to return the size of the BAR instead of its address.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-07-22 09:50:10 -07:00
..
src pci: Fix the way PCI configuration registers are being written 2019-07-22 09:50:10 -07:00
Cargo.toml dep: Rely on latest kvm-ioctls crate 2019-06-06 15:27:35 +01:00