-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd/instance/drivers/qemu: Lock the vsock ID selection
If multiple VMs are started (e.g. parent and imported clone) using the same vsock ID a race condition might occur in which the already cleared vsock ID isn't bound yet to the socket. This leads to the next VM picking the exact same one since it doesn't seem to be acquired. Signed-off-by: Julian Pelizäus <[email protected]>
- Loading branch information
1 parent
6dc6fbf
commit d5401c3
Showing
1 changed file
with
24 additions
and
0 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