From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuDaB-0005WX-Jq for qemu-devel@nongnu.org; Tue, 02 Jul 2013 23:18:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuDa9-0006Hp-2C for qemu-devel@nongnu.org; Tue, 02 Jul 2013 23:18:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuDa8-0006HW-Po for qemu-devel@nongnu.org; Tue, 02 Jul 2013 23:18:12 -0400 Date: Wed, 3 Jul 2013 11:18:04 +0800 From: Asias He Message-ID: <20130703031804.GA28685@hj.localdomain> References: <1366381460-6041-1-git-send-email-pbonzini@redhat.com> <1366381460-6041-7-git-send-email-pbonzini@redhat.com> <51A4590F.90503@linux.vnet.ibm.com> <51A4644A.6070002@redhat.com> <5D9ACBBCF6B270468D615C4719A59BE359CD333B@szxeml548-mbx.china.huawei.com> <20130620013348.GA9802@hj.localdomain> <5D9ACBBCF6B270468D615C4719A59BE359CD3EF9@szxeml548-mbx.china.huawei.com> <20130620093836.GA19790@hj.localdomain> <5D9ACBBCF6B270468D615C4719A59BE359CD4C09@szxeml548-mbx.china.huawei.com> <5D9ACBBCF6B270468D615C4719A59BE35FAA6A71@szxeml548-mbs.china.huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5D9ACBBCF6B270468D615C4719A59BE35FAA6A71@szxeml548-mbs.china.huawei.com> Subject: Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Libaiqing Cc: "qemu-devel@nongnu.org" , Haofeng On Wed, Jul 03, 2013 at 03:08:34AM +0000, Libaiqing wrote: > Hi asias, > I'm testing vhost-blk,for comparimg the performance with virtio-blk. > I got the kernel patch from this mail: https://lkml.org/lkml/2012/12/1/174 You can find the latest vhost-blk kernel bits here: git://github.com/asias/linux.git blk.vhost-blk > And I got the userspace code for qemu from this git: https://github.com/asias/qemu/tree/blk.vhost-blk; > Used vhost-blk device as non-bootable device,the configuration is : > Qemu-kvm -enable-kvm -name win7 -M pc-0.15 -m 1024 -smp 2 -boot c -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/home/fedora188.img,if=virtio,index=0,format=raw -drive file=/home/fedora18.img,if=virtio,index=1,format=raw,id=hd,vhost=on -monitor stdio -vga qxl -vnc :1 -device usb-tablet,id=input0 Please use raw block device for vhost-blk. > On fedora17 host,I used kernel 3.6.3 for building vhos_blk module,but the vm will hang when vm starting. > > 1 Is there any new patch for kernel 3.8 3.10? > 2 which version of the kernel is suitable for the current kernel patch? > > Could you give me some advise to debug this problem ? I can provide more information if need. > Or could you give me some advise to run vhost-blk,such as RHEL version,kernel version and so on? I recommend you to use the kernel I provided above for both guest and host. > Thanks > Baiqing. -- Asias