From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.freebsd.org (mx2.freebsd.org [96.47.72.81]) by mx.groups.io with SMTP id smtpd.web11.100991.1683525871493025620 for ; Sun, 07 May 2023 23:04:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@freebsd.org header.s=dkim header.b=fvDISBnz; spf=pass (domain: freebsd.org, ip: 96.47.72.81, mailfrom: corvink@freebsd.org) Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 4QF9jV1pKPz42Z5; Mon, 8 May 2023 06:04:30 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QF9jV0wSfz3GPn; Mon, 8 May 2023 06:04:30 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683525870; 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=6D09flbvjY4alSwOH0pSRObMs0Iz1E0voQo+DI1tnpM=; b=fvDISBnzJR0gFtvcvmaAfFiNBNFtyTs1wVL7fMdZAga9dlGwykea2PIMfBSdVzwmTYd2lw FZEUa6Z2qZ8mZ+gs0Z200xzF/3tRm0VtUcJ12A/Gh9M70MDMKOSWFWwMq6a8dK8IOiw4fd SzMSjkkfz0gco5/oaBZGlavsA0iT58FHxw1epH50b27JIfP00dQcesho5IpfkDEpou9CCQ EsintsRhPM3vOwThKJzAE2dsEsVsQIcEuivqpVmIO/QQd4g1yC9x2rfbUcv4XzgoonyjQH RzxyPrpRgcBkiyI1JHavHZi4dGy0GphnSlQXh1hTtGa0tYqolIUChrYBlSSWXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683525870; 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=6D09flbvjY4alSwOH0pSRObMs0Iz1E0voQo+DI1tnpM=; b=VODhb7TLjUe5RQrtkTFtFN77HPe/YUrWRTkhL9j6XlJ1XCIiA+2VKEIzKaPiDEH//jN9bN JuJgj1fpMIt895cMhFsoqkHVObh/nsBbQllZsdVdLqSrNY8+t6sZU5oyQpdve0UfBzFn7X HEZl2U5xWS3hBNlyKbY/2xygyDEGtctpBKVJ6BICoRIsOAPQ6b5PswIjwZ6o6YDOTkTmfO 2236Wpbzi8IkznyY8raZ08/HTgcBdEUx1i/dWrf2IL6aQ3vHAqzdtmiyTLJ12M8MPtHpY2 H7cgjK8ogIpIUdlYgwpUmVv7VPxHkGpPpNkMYmkH302q4jVi+qsX7yjUUCSSwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683525870; a=rsa-sha256; cv=none; b=UPJO8A26hoiYBAK38vUeSWIXnoJpvdi2RzvmP1fG841swRXaTLOUJ3s4JXRVd5xtQeNTaD HXduL+uL/27VAftW4tAfDpb2Ca7tp69rp7bm5fj3ZuvTlFYqvbmC90zGgy1APdqJItmy4R GiZZhp3Z+evNG9nE4z4m/CIA5PJDyg5DOorC09rGFbyvZZOFczLc6bhKHpbSgiYsaXHQOD 8mzK4ZqkKdt97goWFOqFv19QtjVUIdAjebTclqVFUkxsKx/JEYUrKSCBa5SLWrW/2uygmU I/UeR5mf3+QviHc0YLYxXXjAM/iCZKAc93SAfGAHO7vyHSkmN8ybrPR7Er/IwA== Received: from [IPv6:2001:9e8:da40:1c00:ad1c:2f13:7a7f:7a98] (unknown [IPv6:2001:9e8:da40:1c00:ad1c:2f13:7a7f:7a98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QF9jT16FKzhDH; Mon, 8 May 2023 06:04:29 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: Subject: Re: [PATCH v3 3/3] OvmfPkg/Bhyve: install ACPI tables from memory From: =?UTF-8?B?Q29ydmluIEvDtmhuZQ==?= To: Rebecca Cran , devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Peter Grehan Date: Mon, 08 May 2023 08:04:26 +0200 In-Reply-To: <961e80a5-f88d-3076-47fa-e8f40963c2a6@bsdio.com> References: <20230503073205.306090-1-corvink@FreeBSD.org> <20230503073205.306090-3-corvink@FreeBSD.org> <961e80a5-f88d-3076-47fa-e8f40963c2a6@bsdio.com> User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Groupsio-MsgNum: 104250 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-r6aQzeEMsY9dOkSiAwh7" --=-r6aQzeEMsY9dOkSiAwh7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2023-05-05 at 08:43 -0600, Rebecca Cran wrote: > On 5/3/23 01:32, Corvin K=C3=B6hne wrote: >=20 > > diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc > > b/OvmfPkg/Bhyve/BhyveX64.dsc > > index d0d2712c5662..465b81ffcd51 100644 > > --- a/OvmfPkg/Bhyve/BhyveX64.dsc > > +++ b/OvmfPkg/Bhyve/BhyveX64.dsc > > @@ -341,6 +341,7 @@ [LibraryClasses.common.UEFI_DRIVER] > > =C2=A0=C2=A0=C2=A0 > > PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf > > =C2=A0=20 > > =C2=A0 [LibraryClasses.common.DXE_DRIVER] > > +=C2=A0 > > AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib. > > inf >=20 > That file doesn't exist. There's=20 > OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf and=20 > OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf . >=20 >=20 It's added by the first commit of this series. --- OvmfPkg/OvmfPkg.dec | 4 + OvmfPkg/OvmfXen.dsc | 1 + .../AcpiPlatformLib/DxeAcpiPlatformLib.inf | 26 ++++++ .../XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf | 1 + OvmfPkg/Include/Library/AcpiPlatformLib.h | 25 +++++ .../AcpiPlatformLib/DxeAcpiPlatformLib.c | 90 ++++++++++++++++++ OvmfPkg/XenAcpiPlatformDxe/Xen.c | 93 ++----------------- 7 files changed, 153 insertions(+), 87 deletions(-) create mode 100644 OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf create mode 100644 OvmfPkg/Include/Library/AcpiPlatformLib.h create mode 100644 OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.c --=20 Kind regards, Corvin --=-r6aQzeEMsY9dOkSiAwh7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmRYkOoACgkQ2FTaVjFe AmqYbRAAtgvOp3uy5m6LpVunE1evrky/1PobSc4xgD/ycY8dQqQcg528l8m3BaQi Z8g65nkTUtI6P+2Incmq3l3Dr4gKNUHhsEQ2qMUV1HiYnV7m75dlow9k8kaSUVg0 iEnPTY3N8VvOULY4Ua26QPieM165S8897CxA+tetqhocbaUk2mdzLgNePZe2rzIk WrfsQ7yv2+xWawnp2dZY36TiobIPjcA740PCInPqBU8IdPlNF8iOjNNUUx4VLS+u Gg5p5/8Vj/WTLMExbI/mAI3HJHlYu+TbSKia8wPw6BHo2XRm4eprtTpfkHRmq2bs nMlzKIRECAwMNaWBz8awVjA02IGpxX/OsE1LQzyjjUMOZXtGkph5XXzz9oVA8XQR VPSypg/G+PSNFycB3XVR66RbRctoOWzb3eJhVUiXC0sNhxvfv4pMR6Qy8//nEJaa 63poY+qZfQAzZDOXs5jwWUGpGH6QigbgVsrgnJnaoOtlLlz5EruEyRxU45a/p5VS efq/urMRwqk8NT3cTraUKnsP/FGPFaRCUCn56+txLHIuPMj6riYzjpZo5GgmZS12 RVjuyyoXT2qGMfSoLOjDUzpcQfFS11qyLk4josJ3P4lOEhm4N4UBh4C9umIY/MZY 17v1jvtimcjO3t3ciTHDDttLb+w6j37TFO8f+h/YWvHslgo74ko= =CtqJ -----END PGP SIGNATURE----- --=-r6aQzeEMsY9dOkSiAwh7--