mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-30 01:42:32 +00:00
If the user passes socket-path with whitespace before or after, like -l " /tmp/vi2c.sock", then the Listener API fails and errors out. Fix this by trimming the argument for whitespace at start or end. Also add a test for the same. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> |
||
|---|---|---|
| .. | ||
| i2c.rs | ||
| main.rs | ||
| vhu_i2c.rs | ||