race condtion in getting VNC port for libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

We are encountering a problem of race conditions for getting VNC port when VM start up.

 

In a very powerful hypervisor, if we try to start up more than 1 VM concurrently, then there might be some VMs failed to start up due to VNC port confilict.

 

We searched libvirt bugs and found that some one report the problem and we have give a fix, but the fix can not resolve the problem.

 

http://osdir.com/ml/libvir-list/2010-05/msg00530.html
 
https://build.opensuse.org/package/view_file?file=vnc-race-3.patch&package=libvirt&project=Virtualization:openSUSE11.3
 
The bitmap test-and-set operation is not atomic, so that there still is a time-window in which a VNC port could be reserved for two caller. 
 
Your help is highly appreciated!
 
Thanks,

Guangya Liu
Cloud Developer
Platform Computing
direct: +86-29-87607400-333
www.platform.com

 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]