[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] migrate: Fix bounds check for migration para
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3] migrate: Fix bounds check for migration parameters in migration.c |
Date: |
Fri, 9 Sep 2016 15:51:59 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 09/09/2016 03:37 PM, Ashijeet Acharya wrote:
> This patch fixes the out-of-bounds check of migration parameters in
> qmp_migrate_set_parameters() for cpu-throttle-initial and
> cpu-throttle-increment by adding a return statement for both as they
> were broken since their introduction in 2.5 via commit 1626fee.
> Due to the missing return statements, parameters were getting set to
> out-of-bounds values despite the error.
>
> Signed-off-by: Ashijeet Acharya <address@hidden>
> ---
Remember, after the --- is a good place to give a description of how v3
is better than v1. Also, since I gave a reviewed-by on v1, and it looks
like all you changed was the commit message, you can manually add my R-b
line during your 'git commit --amend', so that reviewers can shave some
time on the second round of reviews.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature