From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwXpn-0007hd-3G for qemu-devel@nongnu.org; Mon, 25 Sep 2017 14:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwXpj-0005cs-V5 for qemu-devel@nongnu.org; Mon, 25 Sep 2017 14:10:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40054) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dwXpj-0005bm-Ot for qemu-devel@nongnu.org; Mon, 25 Sep 2017 14:10:19 -0400 Date: Mon, 25 Sep 2017 15:09:57 -0300 From: Eduardo Habkost Message-ID: <20170925180957.GE3030@localhost.localdomain> References: <1506071794-4373-1-git-send-email-thuth@redhat.com> <20170925135316.74fed6da.cohuck@redhat.com> <20170925133153.GZ3030@localhost.localdomain> <20170925154647.357047b9@nial.brq.redhat.com> <20170925143439.GA3030@localhost.localdomain> <59e890ab-45e4-fe8a-a8de-3c441de19080@redhat.com> <20170925175944.GD3030@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v2] qdev: Mark devices as non-hotpluggable by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Thomas Huth , Igor Mammedov , Cornelia Huck , QEMU Developers , Paolo Bonzini , Xiao Guangrong , "Michael S. Tsirkin" , Marcel Apfelbaum , Christian Borntraeger , Gerd Hoffmann , Stefano Stabellini , Anthony Perard , David Hildenbrand , David Gibson , Bharata B Rao , Amit Shah On Mon, Sep 25, 2017 at 07:05:26PM +0100, Peter Maydell wrote: > On 25 September 2017 at 18:59, Eduardo Habkost wrote: > > Finding the full list of devices that can be instantiated > > internally at hotplug-time sounds tricky. > > If we just diff "list of devices marked hotplug before this patch" > against "list of devices marked hotplug after this patch" how > big is the list? Can we just eyeball it to see what needs > to be specialcased? I was working on a query-device-type QMP command some time ago. I will rebase the work in progress and use it to build those lists. -- Eduardo