3a6cf6f vz: fixed race in vzDomainAttach/DettachDevice

1 file Authored by Olga Krishtal 7 years ago, Committed by Maxim Nestratov 7 years ago,
    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>
    
        
file modified
+12 -0