Re: [libvirt] [PATCH v2] vz: fixed race in vzDomainAttach/DettachDevice

2016-08-18 Thread Maxim Nestratov
18-Aug-16 17:04, Mikhail Feoktistov пишет: Ack On 18.08.2016 15:37, Olga Krishtal wrote: 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, w

Re: [libvirt] [PATCH v2] vz: fixed race in vzDomainAttach/DettachDevice

2016-08-18 Thread Mikhail Feoktistov
Ack On 18.08.2016 15:37, Olga Krishtal wrote: 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

[libvirt] [PATCH v2] vz: fixed race in vzDomainAttach/DettachDevice

2016-08-18 Thread Olga Krishtal
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 ---