mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-08 20:57:35 +00:00
If vhost-device-scmi running with name argument, do not set name again. If not, use value from fs, otherwise use default name. It can avoid that program exit unexpectedly when the length of native sensor name is too long. Correspondingly, modify related unit test function. Signed-off-by: Junnan Wu <junnan01.wu@samsung.com> |
||
|---|---|---|
| .. | ||
| devices | ||
| main.rs | ||
| scmi.rs | ||
| vhu_scmi.rs | ||