From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYKvK-0000g6-Kf for qemu-devel@nongnu.org; Tue, 13 Nov 2012 13:09:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYKvH-00017D-Iq for qemu-devel@nongnu.org; Tue, 13 Nov 2012 13:09:22 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:38820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYKvH-000178-A8 for qemu-devel@nongnu.org; Tue, 13 Nov 2012 13:09:19 -0500 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 13 Nov 2012 18:09:18 -0000 Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qADI97W858130442 for ; Tue, 13 Nov 2012 18:09:07 GMT Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qADHPxrF015053 for ; Tue, 13 Nov 2012 12:25:59 -0500 Date: Tue, 13 Nov 2012 19:09:12 +0100 From: Cornelia Huck Message-ID: <20121113190912.56fd8665@BR9GNB5Z> In-Reply-To: <50A275EC.3030700@greensocs.com> References: <50A258ED.7080807@greensocs.com> <20121113163242.613b3d07@BR9GNB5Z> <50A275EC.3030700@greensocs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Virtio refactoring. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KONRAD =?UTF-8?B?RnLDqWTDqXJpYw==?= Cc: Peter Maydell , aliguori@us.ibm.com, Evgeny Voevodin , Mark Burton , qemu-devel@nongnu.org, agraf@suse.de On Tue, 13 Nov 2012 17:31:40 +0100 KONRAD Fr=C3=A9d=C3=A9ric wrote: > On 13/11/2012 16:32, Cornelia Huck wrote: > > On Tue, 13 Nov 2012 15:27:57 +0100 > > KONRAD Fr=C3=A9d=C3=A9ric wrote: > > > >> To fix this, an idea is to use a new qbus named VirtioBus to link virt= io-pci > >> or virtio-mmio with all the virtio backend ( VirtioDevice ). So > >> "virtio-pci" and > >> "virtio-mmio" will have a VirtioBus. > > Just to spell this out: > > > > We'd go from > > > > system bus > > -> virtio transport bridge dev (virtio-xxx-bridge) > > -> virtio transport bus (virtio-xxx-bus) > > -> virtio transport dev (virtio--xxx) > > > > to > > > > system bus > > -> virtio transport bridge dev (virtio-bridge-xxx) > > -> virtio bus (virtio-bus-xxx) > > -> virtio dev (virtio--xxx) > > > > ? > I'm not sure of what you mean,.. do you mean for s390 ? >=20 > for the moment we have e.g : virtio-blk-pci ( in virtio-pci.c ) >=20 > and we want virtio-pci -> virtio-bus -> virtio-blk. >=20 > ( or virtio-mmio -> virtio-bus -> virtio-blk. for pci-less system. ) I meant the structure you see in 'info qtree'. We might be talking about the same thing :) > >> Is it the right approach ? Do I miss something ? > > What of the alias handling? Can this be killed once everything has been > > converted? > Which alias ? The alias stuff in hw/qdev-monitor.c that lets you specify either virtio-- or virtio-.