qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qed: Fix consistency check on 32-bit hosts


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] qed: Fix consistency check on 32-bit hosts
Date: Tue, 26 Apr 2011 10:44:39 +0200
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 24.04.2011 19:38, schrieb Stefan Hajnoczi:
> The qed_bytes_to_clusters() function is normally used with size_t
> lengths.  Consistency check used it with file size length and therefore
> failed on 32-bit hosts when the image file is 4 GB or more.
> 
> Make qed_bytes_to_clusters() explicitly 64-bit and update consistency
> check to keep 64-bit cluster counts.
> 
> Reported-by: Michael Tokarev <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

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