From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsDPr-0007bX-5h for qemu-devel@nongnu.org; Thu, 27 Jun 2013 10:43:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsDPq-0003Fv-1q for qemu-devel@nongnu.org; Thu, 27 Jun 2013 10:43:19 -0400 Received: from mail-qa0-x234.google.com ([2607:f8b0:400d:c00::234]:61734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsDPp-0003Fq-U7 for qemu-devel@nongnu.org; Thu, 27 Jun 2013 10:43:17 -0400 Received: by mail-qa0-f52.google.com with SMTP id bv4so616357qab.4 for ; Thu, 27 Jun 2013 07:43:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 27 Jun 2013 16:43:17 +0200 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] PVFS2 Block Driver Support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Timothy Scott Cc: qemu-devel On Thu, Jun 27, 2013 at 4:25 PM, Timothy Scott wrote: > I am working on adding block driver support for PVFS2 that will allow images > stored on PVFS2 systems to bypass the kernel module and hopefully improve > performance significantly. What performance bottlenecks are you seeing in the kernel which you can bypass from QEMU userspace? > Can you please advise on a couple of issues: > - Should qcow2 and other optimizing formats function when using pvfs2 as a > transport/block layer? ie 'qemu-img create -f qcow2 pvfs2:foo.img 10g' qcow2 works on top of any "protocol" and it should work on top of PVFS2. QED does not and other formats may or may not (VHDX, VMDK, etc). > - Are there any debugging tools or compile flags that are recommended for > use in QEMU? I am currently hacking around with gdb and having trouble > navigating through much of the code. You may find trace events useful, see docs/tracing.txt. > - Is there currently a testing suite/procedure for verifying new block > drivers? There is a test suite in tests/qemu-iotests/. You will need to add support for PVFS2, see how NBD and other protocols were added. Stefan