From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnkyU-0002rP-4S for qemu-devel@nongnu.org; Thu, 09 Aug 2018 09:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnkyQ-00050P-SX for qemu-devel@nongnu.org; Thu, 09 Aug 2018 09:27:34 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:43531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fnkyQ-000502-L7 for qemu-devel@nongnu.org; Thu, 09 Aug 2018 09:27:30 -0400 Received: by mail-ed1-x529.google.com with SMTP id j21-v6so2858647edp.10 for ; Thu, 09 Aug 2018 06:27:30 -0700 (PDT) References: <20180806143412.27722-1-e.emanuelegiuseppe@gmail.com> <20180806143412.27722-6-e.emanuelegiuseppe@gmail.com> From: Emanuele Message-ID: Date: Thu, 9 Aug 2018 15:27:28 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [Qemu-devel] [PATCH v2 05/34] tests/qgraph: sdhci driver and interface nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: Paolo Bonzini , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org, Stefan Hajnoczi >> +{ >> + QSDHCI_PCI *spci = (QSDHCI_PCI *)obj; >> + qpci_device_enable(&spci->dev); >> +} >> + >> +static void sdhci_destroy(QOSGraphObject *obj) > "sdhci_pci_destructor()"? In general, I called the constructor nameĀ  *_create, so in theory to keep it consistent the destructor should be *_destroy, no? Thank you, Emanuele