From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.82209.1673602334534982594 for ; Fri, 13 Jan 2023 01:32:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hHVrkmzt; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673602333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VcJWl80vSE4qM/Woc4lnCjgCxa+kveVJASSXms88a6A=; b=hHVrkmztJF0aygB/qg0HJK86+nUP8II0++OJkCg0ZoKyOEiGLbnvDdL1Yk33wbrcBMZ7BC gdrzdYrRfx+9V2CBoClRqf8tTBJ4Ro6OvOJv7z8mAMlBSJjinQ/mm4FUXr0IS5D0li5F9L DQTj1vAbRxQ4KjaNl7ACZEcrd9XEHr4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-424-k7oFG1skPaiNUERpi_AU0w-1; Fri, 13 Jan 2023 04:32:07 -0500 X-MC-Unique: k7oFG1skPaiNUERpi_AU0w-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 49D7587A9E3; Fri, 13 Jan 2023 09:32:07 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.238]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 081A153A0; Fri, 13 Jan 2023 09:32:07 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 995271800606; Fri, 13 Jan 2023 10:32:05 +0100 (CET) Date: Fri, 13 Jan 2023 10:32:05 +0100 From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael Brown , Ard Biesheuvel , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Jordan Justen , Min Xu , Oliver Steffen , Sebastien Boeuf , Tom Lendacky Subject: Re: [edk2-devel] [PATCH v2] OvmfPkg/PlatformInitLib: catch QEMU's CPU hotplug reg block regression Message-ID: <20230113093205.oh7euprqlmp26wpu@sirius.home.kraxel.org> References: <20230112082845.128463-1-lersek@redhat.com> <01020185a568604c-e16d8581-963a-4ff3-8566-bf0640ad327d-000000@eu-west-1.amazonses.com> <407c5cee-7a6c-cbc8-35cc-8f2c2724914c@redhat.com> <01020185a6bda78a-05d82180-4d1a-4af4-9a9b-ac78088d11ed-000000@eu-west-1.amazonses.com> <49e4e8bb-3bbd-0ca8-ee59-e75560deffa7@redhat.com> <20230113060354.siony3rjwpgzd5tk@sirius.home.kraxel.org> MIME-Version: 1.0 In-Reply-To: <20230113060354.siony3rjwpgzd5tk@sirius.home.kraxel.org> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 13, 2023 at 07:03:54AM +0100, Gerd Hoffmann wrote: > Hi, > > > - QEMU can be configured with other compat properties on the command > > line so that "CPU hotplug with SMI" and "CPU hot-unplug with SMI" *not* > > be offered to the firmware. Then QEMU will reject hotplug attempts, and > > the SMM hotplug code in edk2 will not be triggered by the (virtual) > > hardware. > > Can we have edk2 print instructions for that in the error message? This seems to be: qemu -M q35 \ -global ICH9-LPC.x-smi-cpu-hotplug=off \ -global ICH9-LPC.x-smi-cpu-hotunplug=off But it appears to not work. Or did you mean something else? take care, Gerd