qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_v


From: Asias He
Subject: Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module
Date: Wed, 3 Jul 2013 11:18:04 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]