mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
0567def931
We need to provide valid FDs while creating 'NetConfig' instances even for unit tests. Closing invalid FDs would cause random unit test failures. Also, two identical 'NetConfig' instances are not allowed any more, because it would lead to close the same FD twice. This is consistent with the fact that a clone of a "NetConfig" instance is no longer *equal* to the instance itself. Fixes: #5203 Signed-off-by: Bo Chen <chen.bo@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |