Re: [Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-28 Thread harryxiyou
On Mon, Mar 18, 2013 at 7:10 PM, Stefan Hajnoczi stefa...@gmail.com wrote: [...] read/write/flush should be either .bdrv_co_* or .bdrv_aio_*. The current code pauses the guest while I/O is in progress! Try running disk I/O benchmarks inside the guest and you'll see that performance and

Re: [Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-20 Thread harryxiyou
On Mon, Mar 18, 2013 at 11:16 PM, Stefan Hajnoczi stefa...@gmail.com wrote: [...] I looked at the Google Code project before, it looks like a repo that a few people are hacking on. The site is developer-focussed and there is no evidence of users. This is why I asked about the background of

Re: [Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-20 Thread harryxiyou
On Wed, Mar 20, 2013 at 6:04 PM, Stefan Hajnoczi stefa...@redhat.com wrote: On Wed, Mar 20, 2013 at 04:43:17PM +0800, harryxiyou wrote: On Mon, Mar 18, 2013 at 11:16 PM, Stefan Hajnoczi stefa...@gmail.com wrote: [...] I looked at the Google Code project before, it looks like a repo

[Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-18 Thread harryxiyou
From: Harry Wei harryxi...@gmail.com HLFS is HDFS-based(Hadoop Distributed File System) Log-Structured File System. Actually, HLFS, currently, is not a FS but a block-storage system, which we simplify LFS to fit block-level storage. So you could also call HLFS as HLBS (HDFS-based Log-Structured

[Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-18 Thread harryxiyou
From: Harry Wei harryxi...@gmail.com HLFS is HDFS-based(Hadoop Distributed File System) Log-Structured File System. Actually, HLFS, currently, is not a FS but a block-storage system, which we simplify LFS to fit block-level storage. So you could also call HLFS as HLBS (HDFS-based Log-Structured

Re: [Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-18 Thread harryxiyou
On Mon, Mar 18, 2013 at 7:10 PM, Stefan Hajnoczi stefa...@gmail.com wrote: Hi Stefan, Is HLFS making releases that distros can package? I don't see packages in Debian or Fedora. We will make packages for Debian and Fedora. Block drivers in qemu.git should have active and sustainable

[Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-16 Thread harryxiyou
From: Harry Wei harryxi...@gmail.com HLFS is HDFS-based(Hadoop Distributed File System) Log-Structured File System. Actually, HLFS, currently, is not a FS but a block-storage system, which we simplify LFS to fit block-level storage. So you could also call HLFS as HLBS (HDFS-based Log-Structured

Re: [Qemu-devel] [cloudxy] Re: [RFC]HLFS driver for QEMU

2013-03-12 Thread harryxiyou
On Tue, Mar 12, 2013 at 11:16 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 12, 2013 at 09:47:57PM +0800, harryxiyou wrote: Could anyone give me some suggestions to submit HLFS driver patches for QEMU to our QEMU community. Thanks a lot in advance ;-) http://wiki.qemu.org

Re: [Qemu-devel] Google Summer of Code 2013 ideas wiki open

2013-02-14 Thread harryxiyou
On Tue, Feb 12, 2013 at 5:21 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 7, 2013 at 4:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote: I believe Google will announce GSoC again this year (there is no guarantee though) and I have created the wiki page so we can begin organizing

Re: [Qemu-devel] Google Summer of Code 2013 ideas wiki open

2013-02-14 Thread harryxiyou
On Thu, Feb 14, 2013 at 11:15 PM, Stefan Hajnoczi stefa...@gmail.com wrote: [...] Hi Harry, Hi Stefan, Thanks for your interest. You can begin thinking about ideas but please keep in mind that we are still in the very early stages of GSoC preparation. Google will publish the list of

[Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-07 Thread harryxiyou
HI all : I write a new block driver based on hdfs of hadoop, it need to connect to hdfs when create step (called by bdrv_create in block.c) by use libhdfs ( hdfs c++ api) 。 libhdfs use jni api to will create jvm . The problem is —— it will cause sigsegv error when create jvm . #0

Re: [Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-07 Thread harryxiyou
On Fri, Feb 8, 2013 at 12:11 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 7 February 2013 16:08, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou harryxi...@gmail.com wrote: The above debug info show jni will be used in coroutine. I do not familay

Re: [Qemu-devel] [QEMU]Installed qemu-img and qemu/qemu-img have different size

2013-02-02 Thread harryxiyou
On Sat, Feb 2, 2013 at 5:02 AM, Brian Jackson i...@theiggy.com wrote: [...] It probably gets stripped during the install process. Check 'file' output on both and see. This is a stupid mistake, which the latter one is *NOT* installed by the first one. Jackson, thanks for your suggestions ;-) --

[Qemu-devel] [QEMU]Installed qemu-img and qemu/qemu-img have different size

2013-02-01 Thread harryxiyou
Hi all, I did following operations to install QEMU to my PC. 1. git clone git://git.qemu.org/qemu.git 2. cd qemu 3, git reset --hard v1.3.0 4, ./configure 5, make 6, sudo make install After step 6, i did following jobs. a: see size of qemu-img bin in qemu package

Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt

2013-01-29 Thread harryxiyou
On Tue, Jan 29, 2013 at 12:05 AM, MORITA Kazutaka morita.kazut...@gmail.com wrote: At Mon, 28 Jan 2013 23:43:04 +0800, harryxiyou wrote: Following test is Libvirt v0.8.6, which you just add Sheepdog volume patch to Libvirt. The version doesn't support Sheepdog storage pool and volume

Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt

2013-01-29 Thread harryxiyou
On Tue, Jan 29, 2013 at 8:55 PM, harryxiyou harryxi...@gmail.com wrote: On Tue, Jan 29, 2013 at 12:05 AM, MORITA Kazutaka morita.kazut...@gmail.com wrote: At Mon, 28 Jan 2013 23:43:04 +0800, harryxiyou wrote: Following test is Libvirt v0.8.6, which you just add Sheepdog volume patch

Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt

2013-01-28 Thread harryxiyou
On Mon, Jan 28, 2013 at 10:44 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: [...] I'm not familiar with HLFS at all. Sheepdog examples I explained to you in another mail may help you, but I cannot give you any other suggestions about HLFS. Thanks for your reminder, i have found this

Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt

2013-01-28 Thread harryxiyou
On Mon, Jan 28, 2013 at 11:06 PM, harryxiyou harryxi...@gmail.com wrote: On Mon, Jan 28, 2013 at 10:44 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: [...] I'm not familiar with HLFS at all. Sheepdog examples I explained to you in another mail may help you, but I cannot give you any

Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt

2013-01-28 Thread harryxiyou
On Mon, Jan 28, 2013 at 11:23 PM, harryxiyou harryxi...@gmail.com wrote: On Mon, Jan 28, 2013 at 11:06 PM, harryxiyou harryxi...@gmail.com wrote: On Mon, Jan 28, 2013 at 10:44 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: [...] I'm not familiar with HLFS at all. Sheepdog examples I

[Qemu-devel] [Libvirt][QEMU]The relationships between Libvirt and QEMU indetails

2013-01-27 Thread harryxiyou
Hi Daniel and other developers, We have programed a HLFS(HDFS based Log-Structured FileSystem) driver for QEMU, which you can see it here. http://cloudxy.googlecode.com/svn/trunk/hlfs/patches/hlfs_driver_for_qemu_1.3.0.patch And i have tested in QEMU environment, which works well for us. Now, we

Re: [Qemu-devel] [Openstack][Sheepdog][Libvirt][Qemu]Add a new block storage driver by Libvirt/Qemu way for Openstack

2013-01-25 Thread harryxiyou
On Sat, Jan 19, 2013 at 10:04 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: [...] If you do the above work, I think you can use your file system with OpenStack. But I suggest doing them step by step. If your file system is not supported in QEMU, I think libvirt won't support it. If

[Qemu-devel] [QEMU]How to configure qemu/configure file correctly?

2013-01-23 Thread harryxiyou
Hi all, We wanna add a block storage driver named HLFS to QEMU, which now have to configure qemu/configure file to add following stuffs. [...] 2828 ## 2829 # hlfs probe 2830 echo Entering HLFS probe...; 2831 sleep 2; 2832 if test $hlfs != no ; then 2833

[Qemu-devel] [QEMU]Add new entries for qemu/configure questions

2013-01-22 Thread harryxiyou
Hi all, We add new entries for qemu/configure(QEMU v1.3.0), which can locate our libraries and header files to compile our driver for QEMU. The new entries in qemu/configure are like following. [...] 2828 ## 2829 # hlfs probe 2830 echo Entering HLFS

Re: [Qemu-devel] [QEMU]Install QEMU question

2013-01-22 Thread harryxiyou
On Tue, Jan 22, 2013 at 6:14 PM, Stefan Hajnoczi stefa...@redhat.com wrote: [...] The fix is now in qemu.git/master. Ok, thanks for your job. -- Thanks Harry Wei

Re: [Qemu-devel] [QEMU]Add new entries for qemu/configure questions

2013-01-22 Thread harryxiyou
On Tue, Jan 22, 2013 at 4:43 PM, harryxiyou harryxi...@gmail.com wrote: Hi all, We add new entries for qemu/configure(QEMU v1.3.0), which can locate our libraries and header files to compile our driver for QEMU. The new entries in qemu/configure are like following. [...] 2828

[Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread harryxiyou
Hi all, When i debug our block driver in QEMU source codes, i cannot find the debug logs for QEMU. I have searched /var/log/messages and /var/log/dmesg but i cannot find debug logs. Could anyone tell me how to find debug logs? Thanks in advance ;-) -- Thanks Harry Wei

Re: [Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread harryxiyou
On Wed, Jan 23, 2013 at 12:58 AM, Brendan Dolan-Gavitt brenda...@gatech.edu wrote: Assuming you're using one of the -d options to qemu, they will by default go into /tmp/qemu.log. How to add -d options to qemu.(Configure qemu/configure or Makefile?) You can also specify where to put the debug

Re: [Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread harryxiyou
On Wed, Jan 23, 2013 at 2:12 AM, Brendan Dolan-Gavitt brenda...@gatech.edu wrote: These are runtime options to QEMU. For example: qemu-system-x86_64 -D ~/qemu_debug.log -d in_asm. Ok, i will have a try. Thanks very much. Or are you trying to add *new* debugging statements to QEMU? If so,

Re: [Qemu-devel] [QEMU]Install QEMU question

2013-01-21 Thread harryxiyou
On Mon, Jan 21, 2013 at 5:07 PM, Andreas Färber afaer...@suse.de wrote: Hi, Hi Andreas, There's a patch queued on qemu-trivial: http://patchwork.ozlabs.org/patch/213610/ Would be nice to get this applied soon, it looks annoying but is not to worry about. I see, thanks for your help ;-)

Re: [Qemu-devel] [QEMU]Patch for QEMU errors

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 12:49 AM, Stefan Hajnoczi stefa...@gmail.com wrote: [...] qemu-devel is not the appropriate place to ask for help with hlfs. The hlfs patch is not part of qemu.git. Try emailing Kang Hua and Wang Sen directly. Hmmm..., you are right. The error message indicates that

Re: [Qemu-devel] [QEMU]Patch for QEMU errors

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 1:14 AM, harryxiyou harryxi...@gmail.com wrote: On Tue, Jan 22, 2013 at 12:49 AM, Stefan Hajnoczi stefa...@gmail.com wrote: [...] qemu-devel is not the appropriate place to ask for help with hlfs. The hlfs patch is not part of qemu.git. Try emailing Kang Hua and Wang

[Qemu-devel] [QEMU]Patch for QEMU errors

2013-01-20 Thread harryxiyou
Hi all, We programmed a block storage(HLFS) patch for QEMU. Therefore, when i patched this driver for QEMU, it happened to me some errors. Could anyone give me some suggestions, thanks in advance ;-) You can see this issue i described in details from

[Qemu-devel] [Openstack][Sheepdog][Libvirt][Qemu]Add a new block storage driver by Libvirt/Qemu way for Openstack

2013-01-19 Thread harryxiyou
Hi all, I wanna add a new block storage driver by Libvirt/Qemu way for Openstack, which is as same as Sheepdog driver for Openstack. So i think the theories are like this. 1, In the Openstack Nova branch, Openstck driver call libvirt client and send parameters to libvirt client.(From this point,

Re: [Qemu-devel] [Openstack][Sheepdog][Libvirt][Qemu]Add a new block storage driver by Libvirt/Qemu way for Openstack

2013-01-19 Thread harryxiyou
On Sat, Jan 19, 2013 at 10:04 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: At Sat, 19 Jan 2013 16:47:37 +0800, [...] If you do the above work, I think you can use your file system with OpenStack. Thanks for your review ;-) But I suggest doing them step by step. If your file system