]> xenbits.xensource.com Git - libvirt.git/commit
vz: fixed race in vzDomainAttach/DettachDevice
authorOlga Krishtal <okrishtal@virtuozzo.com>
Thu, 18 Aug 2016 12:37:00 +0000 (15:37 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Thu, 18 Aug 2016 17:37:09 +0000 (20:37 +0300)
commitb880ff42ddb4d7a8c706ab3555286e7e1da99e46
tree74df5a759b488e846621f46e0ea541122ba3f99c
parent0970a066d181a51793cd238e52e473dd3b543ebc
vz: fixed race in vzDomainAttach/DettachDevice

While dettaching/attaching device in OpenStack, nova
calls vzDomainDettachDevice twice, because the update of the internal
configuration of the ct comes a bit latter than the update event.
As the result, we suffer from the second call to dettach the same device.

Signed-off-by: Olga Krishtal <okrishtal@virtuozzo.com>
src/vz/vz_driver.c