vm-virtio: Remove useless PCI BAR debug log

We should not unconditionally display our virtio PCI BAR setting.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2019-05-10 10:01:29 +02:00
parent 83dadb818f
commit fe99c29743

View File

@ -364,11 +364,6 @@ impl PciDevice for VirtioPciDevice {
PciDeviceError::IoRegistrationFailed(virtio_pci_bar_addr.raw_value(), e) PciDeviceError::IoRegistrationFailed(virtio_pci_bar_addr.raw_value(), e)
})? as u8; })? as u8;
println!(
"VIRTIO PCI BAR starts at 0x{:x}, size 0x{:x}",
virtio_pci_bar_addr.raw_value(),
CAPABILITY_BAR_SIZE
);
ranges.push((virtio_pci_bar_addr, CAPABILITY_BAR_SIZE)); ranges.push((virtio_pci_bar_addr, CAPABILITY_BAR_SIZE));
// Once the BARs are allocated, the capabilities can be added to the PCI configuration. // Once the BARs are allocated, the capabilities can be added to the PCI configuration.