Skip to content

Commit c28dbdb

Browse files
committed
pci: make VirtIO logging less verbose
Every time we were handling an MMIO write within a VirtIO device's BAR we were logging a debug-level message when the write was not leading to a device activation. This leads to way too verbose Firecracker logs up until a device was set up properly. These logs don't really provide any useful debugging information, so just drop it to keep logs readable. Signed-off-by: Babis Chalios <bchalios@amazon.es>
1 parent bad810f commit c28dbdb

File tree

1 file changed

+0
-2
lines changed
  • src/vmm/src/devices/virtio/transport/pci

1 file changed

+0
-2
lines changed

src/vmm/src/devices/virtio/transport/pci/device.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,6 @@ impl PciDevice for VirtioPciDevice {
938938
let _ = interrupt.trigger(VirtioInterruptType::Config);
939939
}
940940
}
941-
} else {
942-
debug!("Device doesn't need activation");
943941
}
944942

945943
// Device has been reset by the driver

0 commit comments

Comments
 (0)