From ba70aa89e7e1c33ac058fa77ef3f55aa2b18a1e2 Mon Sep 17 00:00:00 2001 From: Xuewei Niu Date: Tue, 21 Jul 2026 09:29:39 -0500 Subject: [PATCH] runtime-rs: Pass the vhost-user-net device id to dragonball Dragonball now identifies every network device by its iface_id and refuses a device without one, so pass the endpoint's dev_id through explicitly instead of leaving the field to its empty default. This completes the change started two commits back: every network backend hands dragonball a device name the runtime knows. Signed-off-by: Xuewei Niu --- src/runtime-rs/crates/hypervisor/src/dragonball/inner_device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-rs/crates/hypervisor/src/dragonball/inner_device.rs b/src/runtime-rs/crates/hypervisor/src/dragonball/inner_device.rs index d4b9b0a8a6..64822ff01e 100644 --- a/src/runtime-rs/crates/hypervisor/src/dragonball/inner_device.rs +++ b/src/runtime-rs/crates/hypervisor/src/dragonball/inner_device.rs @@ -358,8 +358,8 @@ impl DragonballInner { num_queues: Some(num_queues), queue_size: Some(config.queue_size as u16), backend: dragonball::api::v1::Backend::VhostUser(DragonballVhostUserConfig { + iface_id: config.dev_id.clone(), sock_path: config.socket_path.clone(), - ..Default::default() }), guest_mac, use_shared_irq: None,