From nobody Mon Feb 9 06:02:28 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1676281676; cv=none; d=zohomail.com; s=zohoarc; b=kUsozmDPRmCkYIVQ0ke5XiVdlN5yLbUz4XcXTmCVIZVtdU/aegED/gsPyjwSOOuMpz5TGFOxQWr21lWK7+Lie5t5sC95lVuEH0ostU1XmlKwy1IS4eFSuOzVEtykJ5Ln/hNeFTXI3ogD8D4VBCYo5LlMos7m6JMH/RYyhVTudlw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1676281676; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=56jK1REdwzYEDtNGZdRR2RMWFUbqMk3kF4sZtnqC2Xg=; b=N+i8uqHAw++5BER/gjKYtPSYTANM9aEDSxjwyBOHKA1nsTLV0usdrNl9/B2Sq88vD20KBKXNrrOEiMdVUwicUY/ZHPS8AWrmMwTBZ2YvXUUpUzMzJuvSmEekXstz1AIOW5FFOUL204F2hLdO1K4a+bPLpZCZPvCGKFxjweM0LgA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1676281676473768.1928676211511; Mon, 13 Feb 2023 01:47:56 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRVQi-0003pX-RC; Mon, 13 Feb 2023 04:47:24 -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 1pRVQe-0003hL-Cw for qemu-devel@nongnu.org; Mon, 13 Feb 2023 04:47:20 -0500 Received: from mga12.intel.com ([192.55.52.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRVQX-0002o2-98 for qemu-devel@nongnu.org; Mon, 13 Feb 2023 04:47:17 -0500 Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2023 01:46:15 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.112]) by fmsmga007.fm.intel.com with ESMTP; 13 Feb 2023 01:46:12 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676281633; x=1707817633; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uz2pnz7erb27I1fl0RWPcSALQT5lp4I5qlGbKbPX82Q=; b=STpqu/GXKP3cHJkoC8Fx5My/azzZxu+640p3uMBLnrARLCQIdS/by5Uh nb2+yc2cNnEXaBmfrvPWNMhDOgjhLARCQRB21xDTJuwwEg0CipgeU/e7Y iqdcirqwFTxlZEPHIUJYhNtfbYQPBW4Y9tQkabJBMYfaZ2qHf9zHNVQqO CKlS9JJ28oiUnK1nfOIhbiZrOGKjsCgNexSqKuq2sqxINfJZoQ3mUiRiy 6SQ15Z6u9Dk2b3iFswq5DjiYS+SqVlc6CZU5KZOLwDvvLqcMELd0HnHaB wg5R/GCIvmf+FfxTdRdbyZij9y7fgBDkiX0q5LBuJvASH3W+Z8H2lPTPc Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="310487287" X-IronPort-AV: E=Sophos;i="5.97,293,1669104000"; d="scan'208";a="310487287" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="670760690" X-IronPort-AV: E=Sophos;i="5.97,293,1669104000"; d="scan'208";a="670760690" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang , "Michael S . Tsirkin" , Richard Henderson , Paolo Bonzini , Eric Blake , Markus Armbruster Cc: qemu-devel@nongnu.org, Zhenyu Wang , Dapeng Mi , Zhuocheng Ding , Robert Hoo , Sean Christopherson , Like Xu , Zhao Liu Subject: [RFC 49/52] i386/pc: Support hybrid cpu topology Date: Mon, 13 Feb 2023 17:50:32 +0800 Message-Id: <20230213095035.158240-50-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230213095035.158240-1-zhao1.liu@linux.intel.com> References: <20230213095035.158240-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=192.55.52.136; envelope-from=zhao1.liu@linux.intel.com; helo=mga12.intel.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1676281676726100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Allow i386/pc to set hybrid cpu topology with "-hybrid" commands. Signed-off-by: Zhao Liu --- hw/i386/pc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 9a7ee0affd87..5cd45921205c 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1928,6 +1928,7 @@ static void pc_machine_class_init(ObjectClass *oc, vo= id *data) hc->unplug =3D pc_machine_device_unplug_cb; mc->default_cpu_type =3D TARGET_DEFAULT_CPU_TYPE; mc->nvdimm_supported =3D true; + mc->topo_props.hybrid_supported =3D true; mc->topo_props.dies_supported =3D true; mc->topo_props.clusters_supported =3D true; mc->default_ram_id =3D "pc.ram"; --=20 2.34.1