On Thu, Jun 27, 2013 at 4:25 PM, Timothy Scott <tsco...@clemson.edu> 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