Skip to content

Commit f815df8

Browse files
MichalTarnackiweb-flow
authored andcommitted
fix(vsock): remove dead virtio_dump debug helper
Delete the unused virtio_dump module and stop exporting it from the vsock crate. The file contained a large debug-only PCI/MMIO dump helper that was compiled as dead code and was no longer referenced anywhere in the tree. Removing it drops an unmaintained code path that parsed host-controlled virtio PCI capability state without participating in the shipping vsock data path, reducing attack surface and keeping the crate aligned with the actual runtime implementation. Signed-off-by: Michal Tarnacki <michal.tarnacki@intel.com> Co-authored-by: GitHub Copilot <noreply@github.com>
1 parent 6f8f738 commit f815df8

2 files changed

Lines changed: 0 additions & 359 deletions

File tree

src/devices/vsock/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ use stream::VsockStream;
1313
pub mod protocol;
1414
pub mod stream;
1515
pub mod transport;
16-
#[allow(dead_code)]
17-
pub(crate) mod virtio_dump;
1816

1917
use transport::*;
2018

src/devices/vsock/src/virtio_dump.rs

Lines changed: 0 additions & 357 deletions
This file was deleted.

0 commit comments

Comments
 (0)