]> xenbits.xensource.com Git - libvirt.git/commit
vz: fixed race in vzDomainAttach/DettachDevice
authorOlga Krishtal <okrishtal@virtuozzo.com>
Thu, 18 Aug 2016 11:57:14 +0000 (14:57 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Fri, 26 Aug 2016 14:48:12 +0000 (17:48 +0300)
commit3a6cf6fc167aed69f54a1e9800d9708e69c70838
tree8ced98c028adfa0af1417ccdf4f163bfe60bf169
parent2354266acf69393d533a7f461530da9afbf56f57
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_sdk.c