[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH v2] Avoid divide by zero when there is no block
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: [PATCH v2] Avoid divide by zero when there is no block device to migrate |
Date: |
Thu, 13 Jan 2011 10:01:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 |
Am 12.01.2011 14:41, schrieb Pierre Riteau:
> When block migration is requested and no read-write block device is
> present, a divide by zero exception is triggered because
> total_sector_sum equals zero.
>
> Signed-off-by: Pierre Riteau <address@hidden>
> ---
> This v2 fixes a line that was going beyond 80 characters.
Thanks, applied to the block branch.
Kevin