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
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev