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.129.124]) by mx.groups.io with SMTP id smtpd.web11.6194.1653371677347209157 for ; Mon, 23 May 2022 22:54:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UdVVclOs; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653371676; 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=fIbdgAWC9+RC2mFEnUi5shdced/PwXnRSnaCJ+Swk0c=; b=UdVVclOsXPdYPN3dAfvPVWQLkUkLeMEB2PUwXLqrOQQhWVTANX6oFMhV25KWdy0wKFOPXY Xtq+ROLz/wF2xo85GsZ5wQe1hYv3S3ADKAzJ+pKolO0gVkV8+41QPvw+VHa5AhF/efPIMj ZGw0Yw6ttMMFIxIXP4018mV7GZF72tc= 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-515-HLwJG5GNNu6sV0euYqYLmw-1; Tue, 24 May 2022 01:54:34 -0400 X-MC-Unique: HLwJG5GNNu6sV0euYqYLmw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DDAF3185A7A4; Tue, 24 May 2022 05:54:33 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A7381C202D1; Tue, 24 May 2022 05:54:33 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id AAB2C1800393; Tue, 24 May 2022 07:54:30 +0200 (CEST) Date: Tue, 24 May 2022 07:54:30 +0200 From: "Gerd Hoffmann" To: Pedro Falcato Cc: edk2-devel-groups-io , Benjamin Doron , Nate DeSimone , Isaac Oram Subject: Re: [edk2-devel] [GSoC 2022] Introducing myself & seeking for project ideas Message-ID: <20220524055430.y4gpdl6iwjcbp75n@sirius.home.kraxel.org> References: <28907.1653324625343525442@groups.io> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > > SimicsOpenBoardPkg can partially boot QEMU with a minimum of changes. It > > makes it into the DXE phase (where we'd eventually get a shell), but fails > > to initialise SMM, so it can't load the variable driver in there. Many > > drivers depend on the variable protocol, including critical > > UEFI-architecture ones, so the DXE core will assert and hang after printing > > a bunch of "driver GUID discovered but not loaded" messages. To fix this, > > the SMM access, maybe SMM control drivers would need to be patched; some > > register definitions differ between chipsets. > > > One issue with QEMU is that you currently have 3 machines worth supporting: > the i440fx (i440fx + PIIX), which is the default, the Q35 (Q35 + ICH9), and > the microvm (probably not going to be apart of the scope of this project, > at least for now, even though OVMF supports it). If you want support for authenticated variables (+ secure boot I guess) and SMM q35 is pretty much the only option you have. microvm doesn't support smm at all, and the i440fx is too old and hasn't enough SMM memory (no TSEG). take care, Gerd