From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1V3Nk3-0006LY-Mq for mharc-qemu-trivial@gnu.org; Sun, 28 Jul 2013 05:58:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3Njv-0006JO-Ph for qemu-trivial@nongnu.org; Sun, 28 Jul 2013 05:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3Njp-00021q-Dg for qemu-trivial@nongnu.org; Sun, 28 Jul 2013 05:58:11 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:42352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3Njp-00020p-6u for qemu-trivial@nongnu.org; Sun, 28 Jul 2013 05:58:05 -0400 Received: from [192.168.88.2] (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id 8A7F0430B4; Sun, 28 Jul 2013 13:57:57 +0400 (MSK) Message-ID: <51F4EB24.4080901@msgid.tls.msk.ru> Date: Sun, 28 Jul 2013 13:57:56 +0400 From: Michael Tokarev Organization: Telecom Service, JSC User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130704 Icedove/17.0.7 MIME-Version: 1.0 To: Gilles Mouchard References: In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: id=804465C5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org Subject: Re: [Qemu-trivial] syscall _llseek does not work with file offset >= 2 GB X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 09:58:17 -0000 27.07.2013 00:49, Gilles Mouchard wrote: > Hello, > > In Linux user mode, system call _llseek returns EINVAL when offset_low >= 2 GB. > Replacing __NR_llseek by __NR__llseek has solved the bug (note the missing underscore). Hm. While the patch is rather trivial indeed, the change is quite a bit non-trivial. Please resubmit to qemu-devel@. Thank you! /mjt