From patchwork Thu Feb 1 08:40:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Liu X-Patchwork-Id: 1893820 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Oi+ZnvYu; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TQX9C5fgtz1yQ0 for ; Thu, 1 Feb 2024 19:28:15 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVSPy-0005J0-13; Thu, 01 Feb 2024 03:27:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVSPp-0005G2-87; Thu, 01 Feb 2024 03:27:21 -0500 Received: from mgamail.intel.com ([134.134.136.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVSPn-0005Dg-DH; Thu, 01 Feb 2024 03:27:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706776039; x=1738312039; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Cw0XwMQ7P8HJWvfLE6CEEEsJ06d31lg0BwhS5QXI9TU=; b=Oi+ZnvYuxqajGv70GnCnL5pjcuZW3tot6ZTkH61Gnh4GuYiZiceOOh2P n7dUk/DAIJ7ENU1P1GJFSCW5UDG7SgyvC6aOiUQxWuUH3KNbTb5XeFAXB PP/5GCFWt3hEbO1Qf+Gevprsg2aE8yPkevb5p7pYilFRwqgRbn3jcZeyg O/0HS1jwzX8xNm4SlGrI/i1sbb2QON9MpjtYaOZB6roegCWEEsrSTpX5h wSntUaKzevPUbakvzc+XPI4ZjbrPi7TftZwD7lu5LwJJLNpyQFkmPnH/R xPGafA6L6aPj0aTmZXF5aDk5seDxBA2W4oxx7g41qLzK1c8M2Nf7zCwm/ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="468077692" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="468077692" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 00:27:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="4348372" Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmviesa003.fm.intel.com with ESMTP; 01 Feb 2024 00:27:04 -0800 From: Zhao Liu To: Eric Auger , Peter Maydell , Thomas Huth , Halil Pasic , Christian Borntraeger , David Hildenbrand , =?utf-8?q?Herv=C3=A9_Poussineau?= , BALATON Zoltan , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jiaxun Yang Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, qemu-trivial@nongnu.org, Zhao Liu Subject: [PATCH 0/4] Consolidate the use of device_class_set_parent_realize() Date: Thu, 1 Feb 2024 16:40:23 +0800 Message-Id: <20240201084027.345459-1-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: none client-ip=134.134.136.31; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -55 X-Spam_score: -5.6 X-Spam_bar: ----- X-Spam_report: (-5.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.292, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Zhao Liu Hi list, Now we already have the device_class_set_parent_realize() to set parent realize(), thus clean up the places where that helper was forgotten. Regards, Zhao --- Zhao Liu (4): hw/isa/vt82c686: Consolidate the use of device_class_set_parent_realize() hw/isa/pc87312: Consolidate the use of device_class_set_parent_realize() hw/intc/s390_flic: Consolidate the use of device_class_set_parent_realize() hw/arm/smmuv3: Consolidate the use of device_class_set_parent_realize() hw/arm/smmuv3.c | 4 ++-- hw/intc/s390_flic_kvm.c | 5 +++-- hw/isa/pc87312.c | 4 ++-- hw/isa/vt82c686.c | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-)