From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIbeT-0003JA-0A for qemu-devel@nongnu.org; Tue, 03 Feb 2015 06:28:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIbeQ-000474-7y for qemu-devel@nongnu.org; Tue, 03 Feb 2015 06:28:16 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:31095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIbeP-00046k-H5 for qemu-devel@nongnu.org; Tue, 03 Feb 2015 06:28:14 -0500 Message-ID: <54D0B0AF.3020302@huawei.com> Date: Tue, 3 Feb 2015 19:27:43 +0800 From: Gonglei MIME-Version: 1.0 References: <1422515335-13316-1-git-send-email-arei.gonglei@huawei.com> <54D08D09.9040509@huawei.com> <54D0ACC9.4000900@redhat.com> In-Reply-To: <54D0ACC9.4000900@redhat.com> Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/5] vhost-scsi: support to assign boot order List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "mst@redhat.com" , "Huangweidong (C)" , "qemu-devel@nongnu.org" , "Subo (A)" , "Huangpeng (Peter)" On 2015/2/3 19:11, Paolo Bonzini wrote: > > > On 03/02/2015 09:55, Gonglei wrote: >> On 2015/1/29 15:08, Gonglei (Arei) wrote: >> >>> From: Gonglei >>> >>> Qemu haven't provide a bootindex property for vhost-scsi device. >>> So, we can not assign the boot order for it at present. But >>> Some clients/users have requirements for that in some scenarios. >>> This patch achieve the aim in Qemu side. >>> >>> Because Qemu only accept an wwpn argument for vhost-scsi, we >>> cannot assign a tpgt. That's say tpg is transparent for Qemu, Qemu >>> doesn't know which tpg can boot, but vhost-scsi driver module >>> doesn't know too for one assigned wwpn. >>> >>> At present, we assume that the first tpg can boot only, and add >>> a boot_tpgt property that defaults to 0. Of course, people can >>> pass a valid value by qemu command line. >>> >> >> Ping... > > Reviewed-by: Paolo Bonzini Thanks :) Regards, -Gonglei