[vbox-dev] Fix to #13789

a.urakov at drweb.com a.urakov at drweb.com
Fri Jan 30 14:50:26 GMT 2015


Diffs attached

30.01.2015 17:49, a.urakov at drweb.com пишет:
> Hello!
>
> We would like to contribute to VirtualBox under MIT license. We send 
> our changes to fix bug described at 
> https://www.virtualbox.org/ticket/13789 .
>
> The idea is that functions /Medium::removeRegistry()/ and 
> /Medium::addRegistry()/ themselves take write locks on mediums, so we 
> get read lock only for /Medium::getAnyMachineBackref()/ call in 
> /VirtualBox::unregisterMachine()/ function. Also we release read lock 
> on medium after we got its parent and before we are going to iterate 
> through parents in /Machine::detachAllMedia()/ function.
>
> Regards,
> Alexander
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150130/4b2bbc56/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MachineImpl.diff
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150130/4b2bbc56/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VirtualBoxImpl.diff
Type: text/x-patch
Size: 1380 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150130/4b2bbc56/attachment-0001.bin>


More information about the vbox-dev mailing list