From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6uGL-0000fJ-51 for qemu-devel@nongnu.org; Mon, 01 Oct 2018 05:13:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6uGG-0004k0-4D for qemu-devel@nongnu.org; Mon, 01 Oct 2018 05:13:08 -0400 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:38958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6uGF-0004YR-DX for qemu-devel@nongnu.org; Mon, 01 Oct 2018 05:13:03 -0400 Received: by mail-ot1-x335.google.com with SMTP id c20-v6so5737849otl.6 for ; Mon, 01 Oct 2018 02:12:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Mon, 1 Oct 2018 10:12:28 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] finishing the transition away from SysBus init methods List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Cc: QEMU Developers On 1 October 2018 at 09:52, Philippe Mathieu-Daud=C3=A9 w= rote: > On 9/27/18 10:11 AM, Peter Maydell wrote: >> I had a look at how many devices are still using the SysBus init >> method (rather than the instance-init/realize pair), and it turns out >> to be only 41, which I think is reasonably tractable for doing some >> more conversions and completing this API transation. > > Next would be convert qemu_register_reset() calls from hw/ to use > DeviceClass::reset(). Yes, where there is a device around. Many of the qemu_register_reset calls though I think are either devices that haven't been converted to QOM at all yet, or for parts of the system that aren't devices at all. thanks -- PMM