Received: from eggs.gnu.org ([2001:4830:134:3::10]:38056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykt1b-0007I9-QL for qemu-devel@nongnu.org; Wed, 22 Apr 2015 07:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ykt1W-0001Hl-Qm for qemu-devel@nongnu.org; Wed, 22 Apr 2015 07:41:03 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:59727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykt1W-0001Ha-GB for qemu-devel@nongnu.org; Wed, 22 Apr 2015 07:40:58 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Apr 2015 12:40:57 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8AE162190066 for ; Wed, 22 Apr 2015 12:40:39 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3MBetEm3801530 for ; Wed, 22 Apr 2015 11:40:55 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3MBetGN009652 for ; Wed, 22 Apr 2015 05:40:55 -0600 Date: Wed, 22 Apr 2015 13:40:53 +0200 From: Cornelia Huck Message-ID: <20150422134053.262405e2.cornelia.huck@de.ibm.com> In-Reply-To: <55376680.3070601@suse.de> References: <1429257161-29597-1-git-send-email-cornelia.huck@de.ibm.com> <1429257161-29597-2-git-send-email-cornelia.huck@de.ibm.com> <55369FC2.1090508@suse.de> <20150422102501.406fc113.cornelia.huck@de.ibm.com> <55376680.3070601@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/6] s390x/virtio-ccw: enable has_dynamic_sysbus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: armbru@redhat.com, mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, Xu Wang , lcapitulino@redhat.com On Wed, 22 Apr 2015 11:14:40 +0200 Alexander Graf wrote: > On 04/22/2015 10:25 AM, Cornelia Huck wrote: > > On Tue, 21 Apr 2015 21:06:42 +0200 > > Alexander Graf wrote: > > > >> On 04/17/2015 09:52 AM, Cornelia Huck wrote: > >>> From: Xu Wang > >>> > >>> We have to enable this flag to support dynamically adding devices to the > >>> sysbus. This change is needed for the the upcoming diag288 watchdog. > >> s390 doesn't have a "sysbus" per se. Please create a new bus type. > > So what's wrong with the sysbus? I don't see why we should be different > > than everyone else. > > The idea behind sysbus is that you have MMIO, PIO and IRQ pins > connecting to a PIC. It provides a lot of infrastructure for those > interfaces. S390 doesn't use any of them and instead wants registration > on "diag" interfaces for example which I'd put on the same layer as PIO > or MMIO registration. I don't think a "diag" bus makes sense. The individual diagnoses are way too heterogenous beyond the fact that they use the same base instruction. So where's the proper place for "misc" devices? My impression was that they can go on the sysbus.