qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] qemu-img: avoid calling exit(1) to release reso


From: Kevin Wolf
Subject: [Qemu-devel] Re: [PATCH] qemu-img: avoid calling exit(1) to release resources properly
Date: Thu, 01 Jul 2010 11:29:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Am 20.06.2010 21:26, schrieb MORITA Kazutaka:
> This patch removes exit(1) from error(), and properly releases
> resources such as a block driver and an allocated memory.
> 
> For testing the Sheepdog block driver with qemu-iotests, it is
> necessary to call bdrv_delete() before the program exits.  Because the
> driver releases the lock of VM images in the close handler.
> 
> Signed-off-by: MORITA Kazutaka <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]