[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] qcow2: Fix segfault when qcow2 preallocate fail
[Qemu-devel] Re: [PATCH] qcow2: Fix segfault when qcow2 preallocate fails
Tue, 26 Oct 2010 15:48:03 +0200
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7
Am 26.10.2010 15:23, schrieb Stefan Hajnoczi:
> When an image is created with -o preallocate, ensure that we only call
> preallocate() if the image was indeed opened successfully. Also use
> bdrv_delete() instead of bdrv_close() to avoid leaking the
> BlockDriverState structure.
> This fixes the segfault reported at
> Signed-off-by: Stefan Hajnoczi <address@hidden>
Looks good for stable-0.13. In master we'll have the new qcow_create2
implementation as soon as Anthony pulls, so it doesn't apply there.
[Qemu-devel] Re: KVM call agenda for Oct 26, Gleb Natapov, 2010/10/26