From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD8LH-0004Wd-Pi for qemu-devel@nongnu.org; Mon, 19 Jan 2015 04:09:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YD8LE-0004cS-De for qemu-devel@nongnu.org; Mon, 19 Jan 2015 04:09:51 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:39893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD8LD-0004af-0h for qemu-devel@nongnu.org; Mon, 19 Jan 2015 04:09:48 -0500 Message-ID: <54BCC8A9.4090706@huawei.com> Date: Mon, 19 Jan 2015 17:04:41 +0800 From: Gonglei MIME-Version: 1.0 References: <33183CC9F5247A488A2544077AF1902086E2A649@SZXEMA503-MBS.china.huawei.com> <54BCC6F1.5000602@redhat.com> In-Reply-To: <54BCC6F1.5000602@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Support to boot for vhost-scsi device? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "Huangweidong (C)" , "qemu-devel@nongnu.org" , "stefanha@redhat.com" , "Huangpeng (Peter)" On 2015/1/19 16:57, Paolo Bonzini wrote: > > On 19/01/2015 04:34, Gonglei (Arei) wrote: >> At present, vhost-scsi device do not boot in Qemu, but some clients/users have >> requirements for that in some scenarios. Of course if we want complete the >> aim we should make some changes both Qemu and kernel (vhost-scsi driver >> module, it need to add an IOCTL interface to get target_id/lun_id etc.). >> >> Can we do it for Qemu side first? Have any difficulty? >> Thanks for any comments. >> >> BTW, I had some patches for this, and tested well. >> And I want to post them if possible. :) > > Can you detail what the problems are? > Qemu haven't provide a bootindex property for vhost-scsi device. So, we can not assign the boot order for it at present. Sorry for misunderstanding. :( Regards, -Gonglei