From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXBKt-0007t1-NM for qemu-devel@nongnu.org; Tue, 30 Apr 2013 10:15:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXBKs-0007X4-9b for qemu-devel@nongnu.org; Tue, 30 Apr 2013 10:15:15 -0400 Received: from greensocs.com ([87.106.252.221]:35883 helo=s15328186.onlinehome-server.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXBKs-0007Wm-3h for qemu-devel@nongnu.org; Tue, 30 Apr 2013 10:15:14 -0400 Message-ID: <517FD1ED.50203@greensocs.com> Date: Tue, 30 Apr 2013 16:15:09 +0200 From: =?ISO-8859-15?Q?KONRAD_Fr=E9d=E9ric?= MIME-Version: 1.0 References: <1367248365-27260-1-git-send-email-fred.konrad@greensocs.com> <1367248365-27260-5-git-send-email-fred.konrad@greensocs.com> <517E9552.5020303@redhat.com> <517FC1BA.5070804@greensocs.com> <517FCEAF.5090107@redhat.com> In-Reply-To: <517FCEAF.5090107@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-1.5 4/4] virtio-scsi: fix the command line compatibility. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, mark.burton@greensocs.com, qemu-devel@nongnu.org, agraf@suse.de, cornelia.huck@de.ibm.com, amit.shah@redhat.com, afaerber@suse.de On 30/04/2013 16:01, Paolo Bonzini wrote: > Il 30/04/2013 15:06, KONRAD Fr=E9d=E9ric ha scritto: >>> Could this be simply a qdev property? >> Well, maybe my solution is too extreme. >> >> Maybe I can put bus_name in struct VirtIODevice instead to avoid the >> set_virtio_x_bus_name code duplication? > No, I think it should be either DeviceState or single devices. > > Paolo > oops, just sent the fix with bus_name in VirtIODevice.. I think it's not necessary to put bus_name in DeviceState as it is only=20 needed for these two devices. But it may be better for it to be in VirtIODevice no?