From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from alto.onthenet.com.au (alto.onthenet.com.au [203.13.68.12]) by mx.groups.io with SMTP id smtpd.web11.11926.1683710076866491671 for ; Wed, 10 May 2023 02:14:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@nt.com.au header.s=dkim header.b=AUQHV8Vr; spf=none, err=permanent DNS error (domain: iredmail.onthenet.com.au, ip: 203.13.68.12, mailfrom: srs0=g8kz=a7=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 71CE220B49BB for ; Wed, 10 May 2023 19:14:33 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 49B612139324 for ; Wed, 10 May 2023 19:14:33 +1000 (AEST) Authentication-Results: iredmail.onthenet.com.au (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=nt.com.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nt.com.au; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:to:content-language:subject:subject :user-agent:mime-version:date:date:message-id; s=dkim; t= 1683710073; x=1686302074; bh=8241rOmBSgYctiJT4lLMgxeM5WHt+tywG9n 2wYikG0I=; b=AUQHV8VrGXPmba47X+a/bAezpRmHqlLl/t+wQD3qUEPMCHXnBzq /YGSDu6VvmC0QsUPUpAG8jty3bEdHsB9NOIws5dSwKIG2YJV27Yz5XgRaZXTS45L NCbUuKqqNCR0AamGxaD9XE85pGra7EyNLmqZUnKSyQ8qOz3yzvQ2hL6s= Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id V2XseUlZjtGR for ; Wed, 10 May 2023 19:14:33 +1000 (AEST) Received: from [192.168.1.102] (otn-120-29-25-200.broadband.onthenet.net [120.29.25.200]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id B4C06213931A; Wed, 10 May 2023 19:14:32 +1000 (AEST) Message-ID: <817ecb6c-715f-acc1-73ed-e3e6389b80d8@freebsd.org> Date: Wed, 10 May 2023 19:14:32 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v4 3/3] OvmfPkg/Bhyve: install ACPI tables from memory To: =?UTF-8?Q?Corvin_K=c3=b6hne?= , devel@edk2.groups.io Cc: Gerd Hoffmann , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Rebecca Cran References: <20230510072326.309805-1-corvink@FreeBSD.org> <20230510072326.309805-3-corvink@FreeBSD.org> From: "Peter Grehan" In-Reply-To: <20230510072326.309805-3-corvink@FreeBSD.org> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=RNgo47q+ c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=RpMngn+pKFfrb/Z81Qgvow==:17 a=IkcTkHD0fZMA:10 a=P0xRbXHiH_UA:10 a=6I5d2MoRAAAA:8 a=_96OGIIOS6RwxxVRFeAA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 5/10/23 5:23 PM, Corvin K=C3=B6hne wrote: > It's much easier to create configuration dependend ACPI tables for bhyv= e > than for OVMF. For this reason, don't use the statically created ACPI > tables provided by OVMF. Instead prefer the dynamically created ACPI > tables of bhyve. If bhyve provides no ACPI tables or we are unable to > detect those, fall back to OVMF tables. >=20 > Ideally, we use the qemu fwcfg interface to pass the ACPI tables from > bhyve to OVMF. bhyve will support this in the future. However, current > bhyve executables don't support passing ACPI tables by the qemu fwcfg > interface. They just copy the ACPI into main memory. For that reason, > pick up the ACPI tables from main memory. Acked-by: Peter Grehan