generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsock: Fail to parse VsockArgs if duplicate CIDs specified
Currently, while updating the `cid_map`, it is not checked if the map already contained a key with the same CID before. So, fail to parse VsockArgs if there exist multiple VMs configured with the same CID. Signed-off-by: Priyansh Rathi <techiepriyansh@gmail.com>
- Loading branch information
1 parent
9926e75
commit 9f9a7a7
Showing
1 changed file
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters