[Sheepdog] [RFC PATCH 1/2] close all the block drivers before the qemu process exits

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed May 12 22:16:35 CEST 2010


On 2010/05/12 23:28, Avi Kivity wrote:
> On 05/12/2010 01:46 PM, MORITA Kazutaka wrote:
>> This patch calls the close handler of the block driver before the qemu
>> process exits.
>>
>> This is necessary because the sheepdog block driver releases the lock
>> of VM images in the close handler.
>>
>>    
> 
> How do you handle abnormal termination?
> 

In the case, we need to release the lock manually, unfortunately.
Sheepdog admin tool has a command to do that.

Thanks,

Kazutaka



More information about the sheepdog mailing list