From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJVLr-0007lQ-7o for qemu-devel@nongnu.org; Mon, 27 Nov 2017 21:10:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJVLn-0002cj-Qn for qemu-devel@nongnu.org; Mon, 27 Nov 2017 21:10:23 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:42684 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJVLn-0002c5-KX for qemu-devel@nongnu.org; Mon, 27 Nov 2017 21:10:19 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAS28qE9066819 for ; Mon, 27 Nov 2017 21:10:16 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0b-001b2d01.pphosted.com with ESMTP id 2eguv96s23-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 27 Nov 2017 21:10:16 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 27 Nov 2017 21:10:15 -0500 Date: Tue, 28 Nov 2017 10:10:10 +0800 From: Dong Jia Shi References: <76f95c6f-641e-2fe0-73b4-3ab24fc1a93f@linux.vnet.ibm.com> <20171124134650.46665791.cohuck@redhat.com> <7eaa796e-7815-f943-58b5-ecb5a0bb252e@de.ibm.com> <20171124142758.39d7726f.cohuck@redhat.com> <131b311b-c262-3636-c7ee-1c59ee283823@de.ibm.com> <1ddb44db-2c5c-d64f-56e0-e4582f82b572@linux.vnet.ibm.com> <20171124171510.2343ccdf.cohuck@redhat.com> <8c18df3e-92a0-f88f-6d24-e1df051c8138@linux.vnet.ibm.com> <20171127022056.GK5859@bjsdjshi@linux.vnet.ibm.com> <20171127135816.488c52cc.cohuck@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171127135816.488c52cc.cohuck@redhat.com> Message-Id: <20171128021010.GN5859@bjsdjshi@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [RFC PATCH 1/1] s390x/css: unresrict cssids List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: Dong Jia Shi , Halil Pasic , Christian Borntraeger , Shalini Chellathurai Saroja , qemu-devel@nongnu.org, qemu-s390x@nongnu.org, Boris Fiuczynski * Cornelia Huck [2017-11-27 13:58:16 +0100]: > On Mon, 27 Nov 2017 10:20:56 +0800 > Dong Jia Shi wrote: > > > * Halil Pasic [2017-11-24 17:39:04 +0100]: > > > > > > > > > > > On 11/24/2017 05:15 PM, Cornelia Huck wrote: > > > >>> In theory this should work. > > > >>> > > > >>> In reality it seems more complicated. A per-device property is easy and can be > > > >>> inspected on the command line (e.g. -device virtio-blk-ccw,help), while a new > > > >>> machine property would require to change the qemu help output and qemu-options > > > >>> file (which makes it visible for all architectures). > > > >> And then we have the fun of describing, that this property is weird, and can > > > >> not be set, and it's value does not matter. > > > > Well, that's the case for both, no? > > > > > > > > > I don't think we have to document _device_ properites in qemu-options.hx > > > I don't see any documented neither for virtio-ccw nor for vfio-ccw. The > > > machine properties, on the contrary, are documented in this file. > > Is it sane and possible to reuse the existing s390-squash-mcss property > > to achieve the goal? I mean, when it is false (which is the default > > value), can we treat it as "we are allowed to put devices everywhere"? > > Then we'd have the way to use a property of the -M to tell libvirt that > > devices can be everywhere? > > > > However then we can not drop it completely I guess, since Libvirt will > > depends on it. But we can ignore the operation of setting it's value to > > true. > > I don't think we should reuse it, as it would have rather confusing > semantics (which can't be easily sorted out unless you check for the > qemu version). > Right. This is something that I missed. So please ignore my noise. -- Dong Jia Shi