From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: raw disks no longer work in latest kvm (kvm-88 was fine) [SOLVED] Date: Sun, 07 Mar 2010 20:55:45 +0200 Message-ID: <4B93F6B1.8080604@redhat.com> References: <4B932829.8090503@nagafix.co.uk> <4B9372B6.3050408@msgid.tls.msk.ru> <20100307100022.GA23201@infradead.org> <4B93A624.8010707@nagafix.co.uk> <4B93AF8A.3070805@nagafix.co.uk> <4B93C2F9.7030904@msgid.tls.msk.ru> <4B93DE3F.4090103@nagafix.co.uk> <4B93DFF0.5050905@redhat.com> <20100307172151.GA24859@infradead.org> <4B93E29E.6090609@redhat.com> <20100307173406.GA3756@infradead.org> <4B93F3BC.9070509@nagafix.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , kvm@vger.kernel.org To: Antoine Martin Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60374 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754583Ab0CGSz5 (ORCPT ); Sun, 7 Mar 2010 13:55:57 -0500 In-Reply-To: <4B93F3BC.9070509@nagafix.co.uk> Sender: kvm-owner@vger.kernel.org List-ID: On 03/07/2010 08:43 PM, Antoine Martin wrote: >> >>> Antoine, can you check this? ltrace may help, or run 'strings >>> libc.so | >>> grep pread'. >>> >> Or just add an >> >> #undef CONFIG_PREADV >> >> just before the first >> >> #ifdef CONFIG_PREADV >> >> in posix-aio-compat.c and see if that works. >> > > It does indeed! qemu-kvm-0.12.3 is now seeing my partition again. woohoo! > So, PREAD makes it break... how, where? What does this mean? > No - preadv emulation in glibc breaks it. Likely the bug I mentioned in the other email on this thread. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.