[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] Fix vmstate_info_int32_le comparison/assign
From: |
Juan Quintela |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] Fix vmstate_info_int32_le comparison/assign |
Date: |
Wed, 12 Feb 2014 18:08:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
"Dr. David Alan Gilbert (git)" <address@hidden> wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Fix comparison of vmstate_info_int32_le so that it succeeds if loaded
> value is (l)ess than or (e)qual
>
> When the comparison succeeds, assign the value loaded
> This is a change in behaviour but I think the original intent, since
> the idea is to check if the version/size of the thing you're loading is
> less than some limit, but you might well want to do something based on
> the actual version/size in the file
>
> Fix up comment and name text
> ---
> vmstate.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: Juan Quintela <address@hidden>
And as I am the author, brown paper bag for me.