From 30c86d5999d943a5dbf4bfc1891f1d4b44bd9d6e Mon Sep 17 00:00:00 2001 From: Leander Kohler Date: Fri, 13 Feb 2026 13:21:29 +0100 Subject: [PATCH] vmm: fix --net fd helptext for list syntax The --net help text documented fd as fd=, but comma-separated FD lists in option values must be bracketed to avoid top-level option splitting. Update NetConfig::SYNTAX to use fd=<[fd1,fd2,...]>, matching parser behavior and existing net parsing tests: `cargo test -p vmm test_net_parsing` On-behalf-of: SAP leander.kohler@sap.com Signed-off-by: Leander Kohler --- vmm/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/config.rs b/vmm/src/config.rs index 8a8d637fd..16089e558 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -1334,7 +1334,7 @@ impl FromStr for VhostMode { impl NetConfig { pub const SYNTAX: &'static str = "Network parameters \ - \"tap=,ip=,mask=,mac=,fd=,iommu=on|off,\ + \"tap=,ip=,mask=,mac=,fd=<[fd1,fd2,...]>,iommu=on|off,\ num_queues=,queue_size=,id=,\ vhost_user=,socket=,vhost_mode=client|server,\ bw_size=,bw_one_time_burst=,bw_refill_time=,\