cloud-hypervisor/vmm
Bo Chen 0567def931 vmm: config: Avoid closing invalid FDs from 'test_net_parsing()'
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>
2023-02-15 12:30:09 +00:00
..
src vmm: config: Avoid closing invalid FDs from 'test_net_parsing()' 2023-02-15 12:30:09 +00:00
Cargo.toml build: Bump uuid from 1.2.2 to 1.3.0 2023-02-14 00:37:27 +00:00