mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
8d8791c95d
This is to resolve the following unit test failures: ---- tap::tests::test_read stdout ---- thread 'tap::tests::test_read' panicked at 'datalink channel error or unhandled channel type', net_util/src/tap.rs:580:13 stack backtrace: 0: rust_begin_unwind at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:578:5 1: core::panicking::panic_fmt at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:67:14 2: net_util::tap::tests::pnet_get_mac_tx_rx at ./src/tap.rs:580:13 3: net_util::tap::tests::pnet_send_packet at ./src/tap.rs:556:32 4: net_util::tap::tests::test_read at ./src/tap.rs:656:9 5: net_util::tap::tests::test_read::{{closure}} at ./src/tap.rs:647:20 6: core::ops::function::FnOnce::call_once at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:250:5 7: core::ops::function::FnOnce::call_once at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:250:5 Signed-off-by: Bo Chen <chen.bo@intel.com>
29 lines
666 B
TOML
29 lines
666 B
TOML
[package]
|
|
name = "net_util"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
epoll = "4.3.1"
|
|
getrandom = "0.2.8"
|
|
libc = "0.2.138"
|
|
log = "0.4.17"
|
|
net_gen = { path = "../net_gen" }
|
|
rate_limiter = { path = "../rate_limiter" }
|
|
serde = "1.0.150"
|
|
thiserror = "1.0.37"
|
|
versionize = "0.1.9"
|
|
versionize_derive = "0.1.4"
|
|
virtio-bindings = "0.1.0"
|
|
virtio-queue = "0.7.0"
|
|
vm-memory = { version = "0.10.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = "0.11.0"
|
|
|
|
[dev-dependencies]
|
|
once_cell = "1.16.0"
|
|
pnet = "0.34.0"
|
|
pnet_datalink = "0.34.0"
|
|
serde_json = "1.0.89"
|