From nobody Fri Mar 31 20:25:52 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PpBdf4VDZz43D9C for ; Fri, 31 Mar 2023 20:26:30 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PpBdf2kznz3hKG; Fri, 31 Mar 2023 20:26:30 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-54606036bb3so271117507b3.6; Fri, 31 Mar 2023 13:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680294388; x=1682886388; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=N06p2ueto/aa3B9axECD5MymQ4KYG7auVEz81C/uVBw=; b=qE+13Sxcgi4LNPyENu6RJdJ23aBcQTMKu8zMDk1EjLdZfV5EYVtFgSLOh+t8VVk7hW ekF3oKQ1pW0BNH6O7GS5WftT0aXpzPtf58ubM9nKCq9f97BgfLrSoIL3R9NKgLHRGpO4 64HhPFBJJ6pwMcKptNK9NH5gyLGUlxlqAY52sT7nH/G9yXzBL/gm3iorFcuIJ1vDaIyh YGZIxUyTifQCbMvwUZGw0YVheXwlCHvJi3dVyjEHwcJXOO5gvaQjNxYDzo1flcbd4Dj8 PNtk1ADg8kafWPW6wRQBLnG4vuJp0cGCY+AhdeuDkjWy8xAjTV81Gnh960GHVUQwlKcH o1/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680294388; x=1682886388; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N06p2ueto/aa3B9axECD5MymQ4KYG7auVEz81C/uVBw=; b=6qaOI8Jw1r6kjg3eKlfjqd1ChGPdS21/0cPhV5/KK3A+iP/0a/DVGQa0EmyKyPCDKq 1WVdAUeZNLsQ9mf47OzjTiNYlENpLutA2FpsBVAvTDm11bjt2vRKbNePzDQZ9dcGhYkk fp235RPv43gatgqau+jTxRw6OmoqEatio6a+8USccSrdf0SLnOoNeUe6FdO9KmDVn+MA 2B8ESonwaPbqSwlznSo2KjweJI0nCNntRynS6u7IUSod+XJQ/6FXpeH7DhLAlBEJufGV WyC9JdnbCBd6r+VnnQGzw6h5Rw+yk6mE7vgx350K3qiBhcQ2fh2nrwfAFm2RoSIF1UeR YCVw== X-Gm-Message-State: AAQBX9fOG+5zDkfp76stSR+QSgoDtG3enuguVq+Jd7LBcV6+LOIYIXSf BoZH8ArpuPyleK2I2uxbV9jZqItpAEcZl2z2CbZC425lPAH3gQ== X-Google-Smtp-Source: AKy350bM8TKOl/Y0Oh3FLmENbNTh5JvV3JJVlmxzzjTiWyUHe2zgd+ruVklZ0HNDyu7b8pTVZsGkPGPDiG2rnALo94g= X-Received: by 2002:a81:b617:0:b0:544:b864:5532 with SMTP id u23-20020a81b617000000b00544b8645532mr13555360ywh.3.1680294388250; Fri, 31 Mar 2023 13:26:28 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: <20230331123936.540020-1-corvink@FreeBSD.org> In-Reply-To: From: Mario Marietto Date: Fri, 31 Mar 2023 22:25:52 +0200 Message-ID: Subject: Re: [PATCH] OvmfPkg/BhyveBhf: install bhyve's ACPI tables To: =?UTF-8?Q?Corvin_K=C3=B6hne?= Cc: virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000213f5f05f83806cc" X-Rspamd-Queue-Id: 4PpBdf2kznz3hKG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000213f5f05f83806cc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello. Nothing of unusual is happened and I didn't see any ACPI output message : (I'm running FreeBSD 13.2-RC5 releng/13.2-n254613-0386b9bd6cda GENERIC amd6= 4 ) 19-Ubuntu-2210-ACPI-vm19 : #!/bin/sh setxkbmap it bhyvectl --vm=3Dvm0:19 --destroy vms=3D"$(ls /dev/vmm/*)" vncs=3D"$(ps ax | awk '/vncviewer [0]/{print $6}')" echo $vms echo $vncs if ! pciconf -l pci0:2:0:0 | grep -q "^ppt"; then echo "rtx 2080ti slot 2/0/0 is not attached to ppt,attaching..." kldload nvidia-modeset devctl detach pci0:2:0:0 devctl set driver pci0:2:0:0 ppt else echo "rtx 2080ti slot 2/0/0 is already attached to ppt" fi if ! pciconf -l pci0:2:0:1 | grep -q "^ppt"; then echo "rtx 2080ti slot 2/0/1 is not attached to ppt,attaching..." devctl detach pci0:2:0:1 devctl set driver pci0:2:0:1 ppt else echo "rtx 2080ti slot 2/0/1 is already attached to ppt" fi if ! pciconf -l pci0:2:0:2 | grep -q "^ppt"; then echo "rtx 2080ti slot 2/0/2 is not attached to ppt,attaching..." devctl detach pci0:2:0:2 devctl set driver pci0:2:0:2 ppt else echo "rtx 2080ti slot 2/0/2 is already attached to ppt" fi if ! pciconf -l pci0:2:0:3 | grep -q "^ppt"; then echo "rtx 2080ti slot 2/0/3 is not attached to ppt,attaching..." #devctl detach pci0:2:0:3 devctl set driver pci0:2:0:3 ppt else echo "rtx 2080ti slot 2/0/3 is already attached to ppt" fi echo "rtx 2080ti is fully attached to ppt" for vm in $vms; do session=3D"${vm##*/}" echo "bhyve session =3D $session" echo "vnc session =3D $vncs" if ! printf '%s\n' "${vncs}" | grep "${session}"; then printf 'VNC session not found,destroying ghost vms\n' bhyvectl --vm=3D$session --destroy else printf 'Found VNC session %s\n' "${session},no ghost vms found,not destroying them" fi done vmdisk0=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (NM13N4= CZ)/ && d{print d}'` echo "Seagate M3 Portable 1.8 TB ; $vmdisk0" vmdisk1=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (2022285F1175)/ && d{print d}'` echo "CT1000P1SSD8 ; $vmdisk1" vmdisk2=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (2015020204055E)/ && d{print d}'` echo "TOSHIBA External USB 3.0 1.8 TB ; $vmdisk2" vmdisk3=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (20130506005976F)/ && d{print d}'` echo "TOSHIBA External USB 3.0 932G ; $vmdisk3" vmdisk4=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (BE0191500218)/ && d{print d}'` echo "G-DRIVE USB ; $vmdisk4" vmdisk5=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (38434B4237354B45)/ && d{print d}'` echo "Elements 25A3 ; $vmdisk5" vmdisk6=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (WD-WCAV2X597309)/ && d{print d}'` echo "WDC WD3200AAJS-00L7A0-298 GB ; $vmdisk6" vmdisk7=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (0774911DDC4200A6)/ && d{print d}'` echo "SanDisk Cruzer-15GB ; $vmdisk7" vmdisk8=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (60A44C4138D8F311190A0149)/ && d{print d}'` echo "Kingston DataTraveler 2.0 ; $vmdisk8" vmdisk9=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (20140100006C)/ && d{print d}'` echo "Corsair Force 3 SSD ; $vmdisk9" vmdisk10=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (1924E20B2AE5)/ && d{print d}'` echo "CT500MX500SSD4 ; $vmdisk10" vmdisk11=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (575845583038524844323238)/ && d{print d}'` echo "WD-2500BMV ; $vmdisk11" vmdisk12=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (57442D575845323039544433303334)/ && d{print d}'` echo "WD-3200BMV ; $vmdisk12" vmdisk13=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (S3Z2NB0KB99028V)/ && d{print d}'` echo "Seagate M3 Portable 1.8 TB ; $vmdisk13" pkexec zpool import -f -R /mnt/zroot2 zroot2 bhyve -S -c sockets=3D2,cores=3D2,threads=3D2 -m 4G -w -H -A \ -s 0,hostbridge \ -s 1,virtio-blk,/mnt/zroot2/zroot2/bhyve/img/Linux/ubuntu2210.img,bootindex=3D= 1 \ -s 9,passthru,5/0/0 \ -s 10,virtio-blk,/dev/$vmdisk1 \ -s 11,virtio-blk,/dev/$vmdisk3 \ -s 12,virtio-blk,/dev/$vmdisk13 \ -s 13,virtio-net,tap19 \ -s 14,virtio-9p,sharename=3D/ \ -s 29,fbuf,tcp=3D0.0.0.0:5919,w=3D1600,h=3D950,wait \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/home/marietto/Desktop/Files/OS/FreeBSD/Scripts/corvin/bhyve/ACPI/B= HYVE_CODE_DEBUG.fd \ vm0:19 < /dev/null & sleep 2 && vncviewer 0:19 marietto@marietto:/usr/home/marietto/bhyve # sudo ./19-Ubuntu-2210-ACPI-vm19 vm_open: vm0:19 could not be opened: No such file or directory ls: /dev/vmm/*: No such file or directory rtx 2080ti slot 2/0/0 is not attached to ppt,attaching... rtx 2080ti slot 2/0/1 is not attached to ppt,attaching... rtx 2080ti slot 2/0/2 is not attached to ppt,attaching... rtx 2080ti slot 2/0/3 is not attached to ppt,attaching... rtx 2080ti is fully attached to ppt Seagate M3 Portable 1.8 TB ; da4 CT1000P1SSD8 ; nvd0 TOSHIBA External USB 3.0 1.8 TB ; da2 TOSHIBA External USB 3.0 932G ; da5 G-DRIVE USB ; da0 Elements 25A3 ; da1 WDC WD3200AAJS-00L7A0-298 GB ; ada2 SanDisk Cruzer-15GB ; Kingston DataTraveler 2.0 ; Corsair Force 3 SSD ; da3 CT500MX500SSD4 ; ada0 WD-2500BMV ; WD-3200BMV ; Seagate M3 Portable 1.8 TB ; ada1 fbuf frame buffer base: 0x661ba800000 [sz 16777216] TigerVNC Viewer 64-bit v1.12.0 Built on: 2021-11-23 05:59 Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst) See https://www.tigervnc.org for information on TigerVNC. Fri Mar 31 22:04:09 2023 DecodeManager: Detected 16 CPU core(s) DecodeManager: Creating 4 decoder thread(s) CConn: Connected to host 0 port 5919 CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 CConnection: Choosing security type None(1) CConn: Using pixel format depth 24 (32bpp) little-endian rgb888 wrmsr to register 0x140(0) on vcpu 0 wrmsr to register 0x140(0) on vcpu 1 wrmsr to register 0x140(0) on vcpu 2 wrmsr to register 0x140(0) on vcpu 3 wrmsr to register 0x140(0) on vcpu 4 wrmsr to register 0x140(0) on vcpu 5 wrmsr to register 0x140(0) on vcpu 6 wrmsr to register 0x140(0) on vcpu 7 rdmsr to register 0x64e on vcpu 2 rdmsr to register 0x34 on vcpu 2 rdmsr to register 0xc0011029 on vcpu 3 Unhandled ps2 mouse command 0xe1 Unhandled ps2 mouse command 0x0a Unhandled ps2 mouse command 0x01 Unhandled ps2 mouse command 0x41 Unhandled ps2 mouse command 0x88 rdmsr to register 0x64d on vcpu 5 rdmsr to register 0x64d on vcpu 0 On Fri, Mar 31, 2023 at 3:18=E2=80=AFPM Corvin K=C3=B6hne wrote: > On Fri, 2023-03-31 at 14:59 +0200, Mario Marietto wrote: > > Hello Corvin. > > > > I will try your patch very soon if you want to write carefully all > > the commands that I should issue. Thanks. > > > > I build the firmware as DEBUG and RELEASE version and attached them for > easy testing. Just replace "-l bootrom,/usr/local/share/uefi- > firmware/BHYVE_UEFI.fd" in your bhyve command with "-l > bootrom,/path/to/my/attached/BHYVE_CODE_RELEASE.fd" > > If you encounter any issues, please use the DEBUG version as firmware. > It should log debug information on bhyve's serial output. Please attach > it to your error description. > > For those familiar with building EDKII, you can find my patch at: > https://github.com/Beckhoff/edk2/tree/phab/corvink/acpi-tables > > > -- > Kind regards, > Corvin > --=20 Mario. --000000000000213f5f05f83806cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

Nothing of unusual = is happened and I didn't see any ACPI output message : (I'm running= FreeBSD 13.2-RC5 releng/13.2-n254613-0386b9bd6= cda GENERIC amd64)
<= /span>

19-Ubuntu-2210-ACPI-vm19 :
=
#!/bin/sh

setxkbmap it
bhyvectl --vm=3Dvm0:= 19 --destroy
vms=3D"$(ls /dev/vmm/*)"
vncs=3D"$(ps ax = | awk '/vncviewer [0]/{print $6}')"
echo $vms
echo $vncs=

if ! pciconf -l pci0:2:0:0 | grep -q "^ppt"; then
echo= "rtx 2080ti slot 2/0/0 is not attached to ppt,attaching..."
k= ldload nvidia-modeset
devctl detach pci0:2:0:0
devctl set driver pci0= :2:0:0 ppt
else
echo "rtx 2080ti slot 2/0/0 is already attached = to ppt"
fi

if ! pciconf -l pci0:2:0:1 | grep -q "^ppt&q= uot;; then
echo "rtx 2080ti slot 2/0/1 is not attached to ppt,attac= hing..."
devctl detach pci0:2:0:1
devctl set driver pci0:2:0:1 p= pt
else
echo "rtx 2080ti slot 2/0/1 is already attached to ppt&q= uot;
fi

if ! pciconf -l pci0:2:0:2 | grep -q "^ppt"; th= en
echo "rtx 2080ti slot 2/0/2 is not attached to ppt,attaching...&= quot;
devctl detach pci0:2:0:2
devctl set driver pci0:2:0:2 ppt
el= se
echo "rtx 2080ti slot 2/0/2 is already attached to ppt"
= fi

if ! pciconf -l pci0:2:0:3 | grep -q "^ppt"; then
ec= ho "rtx 2080ti slot 2/0/3 is not attached to ppt,attaching..."#devctl detach pci0:2:0:3
devctl set driver pci0:2:0:3 ppt
else
e= cho "rtx 2080ti slot 2/0/3 is already attached to ppt"
fi
<= br>echo "rtx 2080ti is fully attached to ppt"

for vm in $v= ms; do
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 session= =3D"${vm##*/}" =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 echo "bhyve session =3D $session"
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 echo "vnc session =3D $v= ncs" =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 if ! printf '%s\n' "${vncs}" | grep "$= {session}"; then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 printf '= VNC session not found,destroying ghost vms\n'
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 bhyvectl --vm=3D$session --destroy =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 else
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 printf 'Found VNC sess= ion %s\n' "${session},no ghost vms found,not destroying them"=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fi
done
<= br>vmdisk0=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: = (NM13N4CZ)/ && d{print d}'`
echo "Seagate M3 Portable 1= .8 TB ; $vmdisk0"

vmdisk1=3D`geom disk list | awk '/^Geom n= ame: /{d=3D$NF} /^ *ident: (2022285F1175)/ && d{print d}'`
e= cho "CT1000P1SSD8 ; $vmdisk1"

vmdisk2=3D`geom disk list | = awk '/^Geom name: /{d=3D$NF} /^ *ident: (2015020204055E)/ && d{= print d}'`
echo "TOSHIBA External USB 3.0 1.8 TB ; $vmdisk2&quo= t;

vmdisk3=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *= ident: (20130506005976F)/ && d{print d}'`
echo "TOSHIBA= External USB 3.0 932G ; $vmdisk3"

vmdisk4=3D`geom disk list | = awk '/^Geom name: /{d=3D$NF} /^ *ident: (BE0191500218)/ && d{pr= int d}'`
echo "G-DRIVE USB ; $vmdisk4"

vmdisk5=3D`g= eom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (38434B4237354B= 45)/ && d{print d}'`
echo "Elements 25A3 ; $vmdisk5&quo= t;

vmdisk6=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *= ident: (WD-WCAV2X597309)/ && d{print d}'`
echo "WDC WD3= 200AAJS-00L7A0-298 GB ; $vmdisk6"

vmdisk7=3D`geom disk list | a= wk '/^Geom name: /{d=3D$NF} /^ *ident: (0774911DDC4200A6)/ && d= {print d}'`
echo "SanDisk Cruzer-15GB ; $vmdisk7"

v= mdisk8=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (60A= 44C4138D8F311190A0149)/ && d{print d}'`
echo "Kingston = DataTraveler 2.0 ; $vmdisk8"

vmdisk9=3D`geom disk list | awk &#= 39;/^Geom name: /{d=3D$NF} /^ *ident: (20140100006C)/ && d{print d}= '`
echo "Corsair Force 3 SSD ; $vmdisk9"

vmdisk10= =3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (1924E20B2= AE5)/ && d{print d}'`
echo "CT500MX500SSD4 ; $vmdisk10&= quot;

vmdisk11=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} = /^ *ident: (575845583038524844323238)/ && d{print d}'`
echo = "WD-2500BMV ; $vmdisk11"

vmdisk12=3D`geom disk list | awk = '/^Geom name: /{d=3D$NF} /^ *ident: (57442D575845323039544433303334)/ &= amp;& d{print d}'`
echo "WD-3200BMV ; $vmdisk12"
vmdisk13=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: = (S3Z2NB0KB99028V)/ && d{print d}'`
echo "Seagate M3 Por= table 1.8 TB ; $vmdisk13"

pkexec zpool import -f -R /mnt/zroot2= zroot2

bhyve -S -c sockets=3D2,cores=3D2,threads=3D2 -m 4G -w -H -A= \
-s 0,hostbridge \
-s 1,virtio-blk,/mnt/zroot2/zroot2/bhyve/img/Lin= ux/ubuntu2210.img,bootindex=3D1 \
-s 9,passthru,5/0/0 \
-s 10,virtio-= blk,/dev/$vmdisk1 \
-s 11,virtio-blk,/dev/$vmdisk3 \
-s 12,virtio-blk= ,/dev/$vmdisk13 \
-s 13,virtio-net,tap19 \
-s 14,virtio-9p,sharename= =3D/ \
-s 29,fbuf,tcp=3D0.0.0.0:5919,w=3D1600,h=3D950,wait \
-s 30,xhci,tablet \
-s 31,= lpc \
-l bootrom,/home/marietto/Desktop/Files/OS/FreeBSD/Scripts/corvin/= bhyve/ACPI/BHYVE_CODE_DEBUG.fd \
vm0:19 < /dev/null & sleep 2 &am= p;& vncviewer 0:19

ma= rietto@marietto:/usr/home/marietto/bhyve # sudo ./19-Ubuntu-2210-ACPI-vm19 =

vm_open: vm0:19 could not be opened: No such = file or directory
ls: /dev/vmm/*: No such file or directory
rtx 2080ti slot 2/0/0 is not attached to ppt,attaching...
rtx 2080ti slot 2/0/1 is not attached to ppt,attaching...
rtx 2080ti slot 2/0/2 is not attached to ppt,attaching...
rtx 2080ti slot 2/0/3 is not attached to ppt,attaching...
rtx 2080ti is fully attached to ppt
Seagate M3 Portable 1.8 TB ; da4
CT1000P1SSD8 ; nvd0
TOSHIBA External USB 3.0 1.8 TB ; da2
TOSHIBA External USB 3.0 932G ; da5
G-DRIVE USB ; da0
Elements 25A3 ; da1
WDC WD3200AAJS-00L7A0-298 GB ; ada2
SanDisk Cruzer-15GB ; =C2=A0
Kingston DataTraveler 2.0 ; =C2=A0
C= orsair Force 3 SSD ; da3
CT500MX500SSD4 ; ada0
WD-2500BMV ; =C2=A0
WD-3200BMV ; =C2=A0
Seagate M3 Portable 1.8 T= B ; ada1
fbuf frame buffer base: 0x661ba800000 [sz 16777216]

TigerVNC Viewer 64-bit v1.12.0
Built on: 2021-11-23 05:59
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.= tigervnc.org for information on TigerVNC.

Fri Mar 31 22:04:09 2023
DecodeManager: Detected 16 CPU core(s)
DecodeManager: Creating 4 decoder thread(s)
CConn: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Connected to host 0 port 59= 19
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: Choosing security type None(1)
CConn: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Using pixel format depth 24= (32bpp) little-endian rgb888
wrmsr to register 0x140(0) on vcpu 0
wrmsr to register 0x140(0) on vcpu 1
wrmsr to register 0x140(0) on vcpu 2
wrmsr to register 0x140(0) on vcpu 3
wrmsr to register 0x140(0) on vcpu 4
wrmsr to register 0x140(0) on vcpu 5
wrmsr to register 0x140(0) on vcpu 6
wrmsr to register 0x140(0) on vcpu 7
rdmsr to register 0x64e on vcpu 2
rdmsr to register 0x34 on vcpu 2
rdmsr to register 0xc0011029 on vcpu 3
Unhandled ps2 mouse command 0xe1
Unhandled ps2 mouse command 0x0a
Unhandled ps2 mouse command 0x01
Unhandled ps2 mouse command 0x41
Unhandled ps2 mouse command 0x88
rdmsr to register 0x64d on vcpu 5
rdmsr to register 0x64d on vcpu 0

On Fri, Mar 31, 2023 at 3:1= 8=E2=80=AFPM Corvin K=C3=B6hne <corvink@freebsd.org> wrote:
On Fri, 2023-03-31 at 14:59 +0200, Mari= o Marietto wrote:
> Hello Corvin.
>
> I will try your patch very soon if you=C2=A0 want to write carefully a= ll
> the commands that I should issue. Thanks.
>

I build the firmware as DEBUG and RELEASE version and attached them for
easy testing. Just replace "-l bootrom,/usr/local/share/uefi-
firmware/BHYVE_UEFI.fd" in your bhyve command with "-l
bootrom,/path/to/my/attached/BHYVE_CODE_RELEASE.fd"

If you encounter any issues, please use the DEBUG version as firmware.
It should log debug information on bhyve's serial output. Please attach=
it to your error description.

For those familiar with building EDKII, you can find my patch at:
https://github.com/Beckhoff/edk2/tree/= phab/corvink/acpi-tables


--
Kind regards,
Corvin


--
Mario.
--000000000000213f5f05f83806cc-- From nobody Sun Apr 2 21:00:33 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PqRJ21C2Rz44CKf for ; Sun, 2 Apr 2023 21:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqRJ16HTvz3GFT for ; Sun, 2 Apr 2023 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680469233; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iIYEPwqMNGtYfL2UzXYIcX8FxdnlVdsMTQc8PFbVQHs=; b=Gf0x8iBj4TZJJgwq6ep0IbfiDBSreT0CFNxBrwyTnevgZw2pT3bNMqTf9koV6/NAJidbT5 TPwbUfR/H9zpPGLToAyvhZdz3OEPJpZe1Al7r7g4YfE9u3bCLXVzzK6jLTZKeJmuqkwbhQ pOPaEFh2wbFPHFkrvrauNx0Lt/UnCUxsn8PAYDp+RsDAZ2Hgi9MMl5s9y56YncGExfLe/X wpFGFZev2L7JpMLduzT07WhB7sKm1kUykTiUiYasZgFOYoGj9cWy0lsxNHLzGZhJsDjHQp Coo4hbu+P9AvVtZQOXAg4OusPvgPrZhE6BNdCxjXWoFsIL621SkBANkDcAQCSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680469233; a=rsa-sha256; cv=none; b=Wp+j6QfKauf1ngSB60ruTuJGlGoThdQSgg6anxw5sBy0KcxRFDbgkBgg21IQkyGExjOQjI Rilfd09t15v+HVQF6/udrfiPI1UKjRTURs048TZZchMwu98PmhXS7KtnvZ5a3flMb5T5eH WyHKcLo+C1oNXDrlrfcKYDrh1njFKYiyBBcZkbLyummhAfZK3R2QPelkiLUEnh66iEBCqT aJSVrGafO3eP5u0QsQi6I9cgzhvmzXGzf5p+dShaxTnS246je/9wmJlAhNHre0eELmBAqP /EOjZ6oOf3+4qW3r4XDf1qjE+Y0Fp6s+4wMIY34ySvGBIeUP23ZQdFtvkcBZGw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PqRJ15PkhzX8b for ; Sun, 2 Apr 2023 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 332L0XKg045037 for ; Sun, 2 Apr 2023 21:00:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 332L0XNa045036 for virtualization@FreeBSD.org; Sun, 2 Apr 2023 21:00:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202304022100.332L0XNa045036@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 2 Apr 2023 21:00:33 +0000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16804692336.9CD5FB3de.43046" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16804692336.9CD5FB3de.43046 Date: Sun, 2 Apr 2023 21:00:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly Open | 244838 | "bectl activate -t" does not honor the -t flag in 3 problems total for which you should take action. --16804692336.9CD5FB3de.43046 Date: Sun, 2 Apr 2023 21:00:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
In Progress |    247208 | mpt(4): VMWare virtualized LSI controller panics 
New         |    240945 | [hyper-v] [netvsc] hn network driver incorrectly 
Open        |    244838 | "bectl activate -t" does not honor the -t flag in

3 problems total for which you should take action.
--16804692336.9CD5FB3de.43046-- From nobody Mon Apr 3 08:59:56 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PqlG55SlLz43tmK for ; Mon, 3 Apr 2023 08:59:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqlG54SNFz3Kdl for ; Mon, 3 Apr 2023 08:59:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680512397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xg6VVz52NmPafR/jRGCWwwJHPYUEPnp382vyB21Yn60=; b=YqRgyFA/oQWinXt6lxwYXb7TUcJbAdO8YRSbOA0MKDPh60RiBJrqOVt/9TVYlR9StDVmIG aiIiRLqqUu4gHvbbyARr2XHIYrtr16g571shINeUiW5k2vnHcwSEcI2bYhqYO0ksab6nHB URD7qYgB1PsGOgP9wxihrYQiqFvlxW3gD/DLOqm/4yzJAfVAF0oLSWPbAHeFK2681WT6lp asPubDtFAgNkP30Rp0pZRhzVhBOF5S3XcH5SY01vncbvVFhqBrN4/I1PQayP4ZpnOlYudg 1sq/Gk51Cf2oG7dWB7Z1/decXZ97JbABMu/ci8/6yoP9LcQbS//aHDdabsO73w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680512397; a=rsa-sha256; cv=none; b=qovhbMVhLjxogdQTOCh2ub13sxrqYmDz+roH8M1MPr9Ut0hgdHjyL4RPcLxJxnQcaZd07O JrlQXx2Mq3QUBsw8JIZ71tUCqvm1b2QytilbIWsj1Kqfgr1nsZT9hKdFwM/KFeUYyW/QVi 1ptC17jJvwWfeqLaMeMkwGTJPIF9w/prq+tKeeNTKGfkD662oyoQXECx1WWW4UwSHDiIlW R8I/mx0HPmj8otYGYLLL451gD4QDZ71WknuNt0Pis8iX3J+9VFCnY2JJLLkSN3XtIP2ANf F8FJOahi6/u0x9vcqCD2X4uS6cd6Z3/RHXf3uz5xsUBWEAShEyHaLrwG7KxQdg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PqlG53YGCzsVd for ; Mon, 3 Apr 2023 08:59:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3338xvwt049723 for ; Mon, 3 Apr 2023 08:59:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3338xvq6049722 for virtualization@FreeBSD.org; Mon, 3 Apr 2023 08:59:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 210175] [hyper-v] V2 input from mouse/keyboard not captured Date: Mon, 03 Apr 2023 08:59:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yuripv@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210175 Yuri Pankov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed CC| |yuripv@FreeBSD.org Resolution|--- |FIXED --- Comment #7 from Yuri Pankov --- Mouse should be fixed now in bug 221074. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Apr 3 09:59:01 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PqmZT4K7Rz43yK4 for ; Mon, 3 Apr 2023 09:59:13 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [IPv6:2a02:2770::216:3eff:fee1:cf9]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqmZS32RWz3Pn9; Mon, 3 Apr 2023 09:59:12 +0000 (UTC) (envelope-from contact@evilham.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=evilham.com header.s=mail header.b=iFGKEwnz; spf=pass (mx1.freebsd.org: domain of contact@evilham.com designates 2a02:2770::216:3eff:fee1:cf9 as permitted sender) smtp.mailfrom=contact@evilham.com; dmarc=pass (policy=quarantine) header.from=evilham.com From: Evilham DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evilham.com; s=mail; t=1680515943; bh=bMlza5WvH5YRuGDdFCTitC7ysUhMuqw+wisU0xZKef0=; h=From:To:Cc:Subject:References:In-reply-to:Date; b=iFGKEwnzYzcbs0JjfWwfpStc4tMbdwLnDzUlxpGanYVOAvaTQjIR+VnDraF2a0uJ1 PvLNmfLyh0sSIxX7cEcBZcZI6FWfOxa6ChwrToliU23iSWq3ZU91WYCwT89Yms3+rf GgwkJ27+NAHh5nbebe2gcqXsQfOQ/Yjc2lSZ7h8E= To: Corvin =?utf-8?Q?K=C3=B6hne?= Cc: freebsd-virtualization@FreeBSD.org Subject: Re: CURRENT: Operation not supported by device References: <4118bddf3c1ff0724f9e83934c534bb38baa48a9.camel@FreeBSD.org> In-reply-to: <4118bddf3c1ff0724f9e83934c534bb38baa48a9.camel@FreeBSD.org> Date: Mon, 03 Apr 2023 11:59:01 +0200 Message-ID: <4f1355e3b46b502c69411eaaff1554055fc1@yggdrasil.evilham.com> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[evilham.com,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[evilham.com:s=mail]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[evilham.com:+]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:196752, ipnet:2a02:2770::/32, country:NL] X-Rspamd-Queue-Id: 4PqmZS32RWz3Pn9 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hey! On dc., mar=C3=A7 29 2023, Corvin K=C3=B6hne wrote: > [[PGP Signed Part:Undecided]] > On Wed, 2023-03-29 at 12:44 +0200, Evilham wrote: >> Hello, >> >> I've been using bhyve for a while now and in the past couple=20 >> days >> (though I'm not sure when it started, certainly less than two >> weeks ago), I've been getting this message when trying to start=20 >> a >> VM on CURRENT: >> >> # # This is after unloading vmm >> # sh /usr/share/examples/bhyve/vmrun.sh -E -I null.iso -d >> =C2=A0 disk0.img test >> *** vmm.ko is not loaded >> # kldload vmm >> # sh /usr/share/examples/bhyve/vmrun.sh -E -I null.iso -d >> =C2=A0 disk0.img test >> Launching virtual machine "test" ... >> device emulation initialization error: Operation not supported=20 >> by >> device >> # bhyvectl --vm=3Dtest --destroy >> # kldunload vmm [...] > > Hi Evilham, > > I've already seen this issue on one of my AMD devices too. Could=20 > you > please test the following patch: > https://reviews.freebsd.org/D39310 Just managed to manually test the patch, it works nicely! I also just noticed that it got merged, so thank you and sorry for=20 the delay in testing :-). Cheers, -- Evilham From nobody Mon Apr 3 11:26:05 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PqpVv5GNvz444Wf for ; Mon, 3 Apr 2023 11:26:15 +0000 (UTC) (envelope-from SRS0=Xy+K=72=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqpVr4TKKz3myT for ; Mon, 3 Apr 2023 11:26:11 +0000 (UTC) (envelope-from SRS0=Xy+K=72=freebsd.org=grehan@iredmail.onthenet.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nt.com.au header.s=dkim header.b=HSYMo2Mw; spf=none (mx1.freebsd.org: domain of "SRS0=Xy+K=72=freebsd.org=grehan@iredmail.onthenet.com.au" has no SPF policy when checking 203.13.68.12) smtp.mailfrom="SRS0=Xy+K=72=freebsd.org=grehan@iredmail.onthenet.com.au"; dmarc=none Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 0812920B49EA for ; Mon, 3 Apr 2023 21:26:06 +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 EEA3A21419EE for ; Mon, 3 Apr 2023 21:26:05 +1000 (AEST) 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= 1680521165; x=1683113166; bh=uBHHZ5byYpTo2txL0NfWw5RtF4myiTfzm09 Vp36u4o0=; b=HSYMo2Mwer9yzQpKiTcClL+vE6DkRghY1K35k2zOLoHa7IDoSUB cKZN7lGEQieD6lNFcF4/Vg78sEoVbzUiN4VGX9LZiZyU8ErmIrsgxUF3cWPmo+zt ct4YVa1pWMoZfC+dKHE69kCrKVm5Qxg+F66AGVM8owsKmGDycnLBM7NY= 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 87LCFfnT8n0n for ; Mon, 3 Apr 2023 21:26:05 +1000 (AEST) Received: from [192.168.1.102] (otn-120-29-29-47.broadband.onthenet.net [120.29.29.47]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id C2E4F21419ED; Mon, 3 Apr 2023 21:26:05 +1000 (AEST) Message-ID: Date: Mon, 3 Apr 2023 21:26:05 +1000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] OvmfPkg/BhyveBhf: install bhyve's ACPI tables Content-Language: en-US To: =?UTF-8?Q?Corvin_K=c3=b6hne?= References: <20230331123936.540020-1-corvink@FreeBSD.org> Cc: virtualization@FreeBSD.org From: Peter Grehan In-Reply-To: <20230331123936.540020-1-corvink@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=fas2N3YF c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=aPteTwT7mLQc2Z4+GGj7vw==:17 a=IkcTkHD0fZMA:10 a=dKHAf1wccvYA:10 a=wFlrr7yDPfm8kmhmw4sA:9 a=QEXdDO2ut3YA:10 X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=Xy@iredmail.onthenet.com.au]; R_DKIM_ALLOW(-0.20)[nt.com.au:s=dkim]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[203.13.68.12:from]; RWL_MAILSPIKE_GOOD(-0.10)[203.13.68.12:from]; RCVD_COUNT_FIVE(0.00)[5]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=Xy@iredmail.onthenet.com.au]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_FROM(0.00)[K=72=freebsd.org=grehan]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[nt.com.au:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/24, country:AU]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[virtualization@FreeBSD.org] X-Rspamd-Queue-Id: 4PqpVr4TKKz3myT X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi Corvin, > I would like to send the following patch to the EDKII project. > Therefore, I'd like to get some feedback from the bhyve community before > sending them to EDKII. Thanks for giving a heads-up. The patch looks fine to me. The only minor suggestion I have is to use the qemu fwcfg interface to locate the RSDP instead of searching through memory, since presumably any new ACPI table functionality in bhyve would be after this point in time where qemu fwcfg is already supported. later, Peter. From nobody Mon Apr 3 14:39:04 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PqtnR4YzQz42q59 for ; Mon, 3 Apr 2023 14:39:07 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4PqtnR2kq4z454Q; Mon, 3 Apr 2023 14:39:07 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680532747; 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=sPiTiIKWcmn2F+gznK8HEkW5ZSL3YevvoMw5kWETySw=; b=wlWoUREvWTOgUN0FYnunpNK2WCxgSRfnS2fgxTIDynZo1pQJ0T/VyPOTfQz5fLZ7Dyp2aZ uZtm8sLm2v7gcm+85QDsoRcx6K8UsdKnSRLH+CLqbENKjn4EUgcVq8zeyUbfT/PivaYmjr fRT8/M0c6Szfagqe66EVwCDmZOpVzWeYROLebOEAhSXcRiztrO/pRBUxwjRovbmrtmbm6U JswFMCAPFZVsL3eZEYpiLHatphEmMND2rVi80OynTGbglFF2ud4yFTJoaeDmaLiYloCd7n FRYFggA/d3fWh1mfg1bfIOwo5lmDHxtp5IsQDabfQcre0Fvq1e3JfmutnTC9Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680532747; 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=sPiTiIKWcmn2F+gznK8HEkW5ZSL3YevvoMw5kWETySw=; b=cq3dXNP3aZwE3Gmh+RY4ceLj/FW13XB90Q/rJHhF0hyDWTEhCkFfaGRpMh1yk+BI0wbYwn shrTKH7yMSjpmhk9RLneSF96faN6SSX7U6z8o5JNzMTw2emh0EFcUu3cIPSzUBojs0Q02x GavCaTjh4gwmZt4X/Ko4PnDFra34oULGo8+mWfiaKvVrHoOPXvweKumdyscK3pFx5OffZW ie1zqeDDQTCaFv2K552IyHVzCNzggARgYyAGQjC56TEkDZT7R54cftCRhQGUU0ydp1NWG+ bxYpI6lXvh6nU8ssyPIhltF/u/7Ye4FttnEBg/7HS32lcUQdevhb10V01s9NYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680532747; a=rsa-sha256; cv=none; b=ACpsBPTP45N0Usl29JLNGC5GNL3149fF/lsOz4V1v8IZxPmFyg4/HTlhOoYqOKncnU+uTQ 3vkcxiBzYol1Eul5wJxpKWbwxHNJVcMtrppX76A7rS5h3fKWAG0gYPyZJHzzpdz5CDF4dk BRG0+Y9G69ZhMPWN+QGUyYuSqsYI+ddjeQnkHCIanTYCVAgcJCWRxvsc+ihYcKq7pPdUba py42796FRUrI1hCRlCVI5Wb5Cm0V93rggeRUR6dwfmsuz3OllCXQ79+9Akt4fSMR9r/yXI I7+tTPSTAOaR57NCmLevgFE1V38wSGuHVJeccZCKy4xbTRSunhTv71TwOXSbQQ== Received: from [172.21.178.239] (unknown [195.226.174.194]) (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 4PqtnQ5LClzVVQ; Mon, 3 Apr 2023 14:39:06 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: Subject: Re: [PATCH] OvmfPkg/BhyveBhf: install bhyve's ACPI tables From: Corvin =?ISO-8859-1?Q?K=F6hne?= To: Peter Grehan Cc: virtualization@FreeBSD.org Date: Mon, 03 Apr 2023 16:39:04 +0200 In-Reply-To: References: <20230331123936.540020-1-corvink@FreeBSD.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-vq6tboqwTN6TRNrDSfEC" User-Agent: Evolution 3.46.4 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N --=-vq6tboqwTN6TRNrDSfEC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2023-04-03 at 21:26 +1000, Peter Grehan wrote: > Hi Corvin, >=20 > > I would like to send the following patch to the EDKII project. > > Therefore, I'd like to get some feedback from the bhyve community > > before > > sending them to EDKII. >=20 > =C2=A0 Thanks for giving a heads-up. >=20 > =C2=A0 The patch looks fine to me. The only minor suggestion I have is to > use=20 > the qemu fwcfg interface to locate the RSDP instead of searching > through=20 > memory, since presumably any new ACPI table functionality in bhyve > would=20 > be after this point in time where qemu fwcfg is already supported. >=20 > later, >=20 > Peter. Hi Peter, thanks for your reply. Using the qemu fwcfg has one big disadvantage: Bhyve's fwctl and qemu's fwcfg can't be used at the same time. Due to backward compatibility reasons, bhyve uses fwctl as default. So, using qemu's fwcfg to locate the rsdp only works, if the user changes his bhyve call. I don't want to use fwctl to locate the rsdp because IMHO we should migrate to fwcfg. So, we shouldn't add new features to fwctl. Btw: I'm also preparing some patches to support qemu's acpi table loader. So, if we like to use qemu's fwcfg, we should use the loader instead of an own baked solution. --=20 Kind regards, Corvin --=-vq6tboqwTN6TRNrDSfEC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmQq5QgACgkQ2FTaVjFe Amo5+Q//eWW3Bh9hrfSpbtZ1y7fj61sFgQ1MsYxpLvof/73KXwWDvm0xG47fIBrG 5wLzFE5eLPkUHvXWvpz8H0HrHKKo3fBfmL31YHuhoTZz1cE1N6TzH3U4CQrqs7Bd 7LnGah11CGazIFRKkJJEaml3HzjUH2K9YOwQedj4rrmXCN61Ps1m8sAquptcpr1Z m7pdJJl+2ADAuYUkp47sQi/eF65CG1Vae6xhaqB3VjmgPuzsgXQAgwRjUQ6dOtMg 7Lmg+x3yIbl2riKNSzxVlIgfrCas/y4R/NkLYihhebZf0jDFYhd1z3yY2Hdb/znn 4fJluv6vHd2qb8Vw2hBbmQSznD9P5qtNN8UmFLKyPDho+vNMhJJLICgkmdHkaUJT 67tId1ax9ZOMsmkrS4sK3AUD3Y1SFaKS13qZeSrjzuTI5JQHRZRyyvA6IDtbAloH 0bT/el35iEovReyJ5UGE5Yvxcf8kSmKkqcU8RNtTFerXwT0LSgxzLmbQ05aX8TKJ r65JqbA7gNP5OAZ/OaP+pdfU1yaSnrurI94lgOX4KS2WAM4qsRzpu4Y8zjQGa6aA tFeDQSJUCbbBOrphcvCWJIEHz/EHjxDfy0g8vN4IjWejIeDgRiczxU5Vu+fa/uIi AgE+33iEAx+LiMe5GNxOC3nI8B90WEwWHWx7oSETHZf5fhNoF+c= =3BV7 -----END PGP SIGNATURE----- --=-vq6tboqwTN6TRNrDSfEC-- From nobody Tue Apr 4 21:54:21 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PrhPM2hDxz43GFJ for ; Tue, 4 Apr 2023 21:54:31 +0000 (UTC) (envelope-from SRS0=mBGe=73=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrhPK33yxz4YLh for ; Tue, 4 Apr 2023 21:54:28 +0000 (UTC) (envelope-from SRS0=mBGe=73=freebsd.org=grehan@iredmail.onthenet.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nt.com.au header.s=dkim header.b="E/vIOXaD"; spf=none (mx1.freebsd.org: domain of "SRS0=mBGe=73=freebsd.org=grehan@iredmail.onthenet.com.au" has no SPF policy when checking 203.13.68.12) smtp.mailfrom="SRS0=mBGe=73=freebsd.org=grehan@iredmail.onthenet.com.au"; dmarc=none Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 8BB8E20B498D for ; Wed, 5 Apr 2023 07:54:22 +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 82FC12142BCE for ; Wed, 5 Apr 2023 07:54:22 +1000 (AEST) 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= 1680645262; x=1683237263; bh=JUjcy+VihuStKEZsJ6imu48VoYJAgvedLBI mSkB0VWE=; b=E/vIOXaDssWxUL3N92m2XcAqJJ7VmK7lGAdAoxVWydmjBvMnE1n RojPpsQRR9V6VKLJZ2D4/TfTTN+mJujEvZTHOJ9PelEimZ453JP/hzmcYfAMC5BN nW8NiunSX+K2ZhgOWRehFqLCjWIeRWaYuaCgPpMmB/RK/h2r/LKYBKs8= 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 fXu4ZKGdW4bs for ; Wed, 5 Apr 2023 07:54:22 +1000 (AEST) Received: from [192.168.1.102] (otn-120-29-29-47.broadband.onthenet.net [120.29.29.47]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 621B32142BCD; Wed, 5 Apr 2023 07:54:22 +1000 (AEST) Message-ID: <365212d5-75e4-1717-b69a-5e1ddf6e40ab@freebsd.org> Date: Wed, 5 Apr 2023 07:54:21 +1000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] OvmfPkg/BhyveBhf: install bhyve's ACPI tables Content-Language: en-US To: =?UTF-8?Q?Corvin_K=c3=b6hne?= Cc: virtualization@FreeBSD.org References: <20230331123936.540020-1-corvink@FreeBSD.org> From: Peter Grehan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=fas2N3YF c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=aPteTwT7mLQc2Z4+GGj7vw==:17 a=IkcTkHD0fZMA:10 a=dKHAf1wccvYA:10 a=F9RsW7PP2QqUp3N_OTgA:9 a=QEXdDO2ut3YA:10 X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=mBGe=73=freebsd.org=grehan@iredmail.onthenet.com.au]; R_DKIM_ALLOW(-0.20)[nt.com.au:s=dkim]; RCVD_IN_DNSWL_LOW(-0.10)[203.13.68.12:from]; RWL_MAILSPIKE_GOOD(-0.10)[203.13.68.12:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[virtualization@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/24, country:AU]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=mBGe=73=freebsd.org=grehan@iredmail.onthenet.com.au]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[nt.com.au:+]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PrhPK33yxz4YLh X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N > Using the qemu fwcfg has one big disadvantage: > Bhyve's fwctl and qemu's fwcfg can't be used at the same time. Due to > backward compatibility reasons, bhyve uses fwctl as default. So, using > qemu's fwcfg to locate the rsdp only works, if the user changes his > bhyve call. > I don't want to use fwctl to locate the rsdp because IMHO we should > migrate to fwcfg. So, we shouldn't add new features to fwctl. Ah ok. > Btw: I'm also preparing some patches to support qemu's acpi table > loader. So, if we like to use qemu's fwcfg, we should use the loader > instead of an own baked solution. Yes: that's a much better solution. The bhyve-generated ones are very size-limited. later, Peter. From nobody Thu Apr 6 06:16:43 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PsWVQ6fvhz43Ztd for ; Thu, 6 Apr 2023 06:16:46 +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 4PsWVQ6FvJz3KqQ; Thu, 6 Apr 2023 06:16:46 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680761806; 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=0ZkuvbrTtBuGq/9EmPUs4Ft1wvajeli2ZfM9mGWadTU=; b=h3uy2s5Ez+z+aCsrBb2J8goe/d4zWDRwmmfAzXwKU3o0t6BWoJeRDyolmNItU66hqkWXjA ma1HekGUwgu4dPyxGs3BtnwuJd1k5h0mE/O0tUprv8OtZ3Erducbdz/G7Y8mEeYQZqOKBy GNQPXXQHQnUUKhTtYgAaz/5ijVD8BMWuy0W/mIqA32OAt3Ze31/zqE4/OSEl4++nKeflsm 7d7ZDGh9nT+qqo6oqf6BQO1tLadYYGfoJMzolL5WvKWWo22s+oxCGF+nFhU9yrPcrTmQRM sbaVJfLPxNsgFQdkwegcm/0wOq5pjsMlx40cI/+V2mzX0e53Z13L+HLieFoprw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680761806; 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=0ZkuvbrTtBuGq/9EmPUs4Ft1wvajeli2ZfM9mGWadTU=; b=Tm/bowtTOe4zwGH+QtX0LIzvsIZM2BznZmnX6+Hhg1yoRL2V6YyaG2Su5WSD1oQZOlH/ZD qFgts37IoR1W+xLnDTyEwWbH9z5GB0jxxs9qqA8VG2DjcVHSgg7poH4BA0VygfDBrZfN4h uZdDr6U1jtFxAjm9UpceOk65JkZrlqQM/AZ2UU7qAScdZL+eC7iUFCLgHC/RRxWAUPTNx5 KSUyeYdTI5vJ/5vI4SeF8M6fIs9Ubjlkgtnwz7Kyl+hgmg72YuMvJJqOnZVkw5pCyojw8u oYmB7RynEokVaDnsueEE5y6LFMSyGOM/bHNgVEWEE+R2wfocUEz8S2lfeVKb3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680761806; a=rsa-sha256; cv=none; b=GmTy09TGXe6AXYCf87wCUkDCGO1iOVCRFBgw4AM1KOuTyIZotRrNZ15bNmotuk1ySzPyl2 O1xFw15YX+jMsnPoj8DBbI9Qn0zm0BNKMv8Xy+P+HwG/AENlYE5EGYOMJlVdfumVuMSQE0 epVYf6uFr8KgKrKkmZj0xd1Uj1gkVqJeeCzoyIlf5Ey7QtaTCs3bAoA1ZXyIHfyVXhOEYv mM/dIX+6IveYjkL3im4EVtVKoFypTVACF16C0d+flzKVy/4jxWCgOcfNWiPfHy9m8BYGz4 exfo/5LHBbR0WYcv3mtGHQyQ7sL3R+Q1yDFf70IEcTsMRDCsNTfK4Mb0zp2adA== Received: from [172.21.178.239] (unknown [195.226.174.194]) (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 4PsWVQ1qb4zSr2; Thu, 6 Apr 2023 06:16:46 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: Subject: Re: [PATCH] OvmfPkg/BhyveBhf: install bhyve's ACPI tables From: Corvin =?ISO-8859-1?Q?K=F6hne?= To: Peter Grehan Cc: virtualization@FreeBSD.org Date: Thu, 06 Apr 2023 08:16:43 +0200 In-Reply-To: <365212d5-75e4-1717-b69a-5e1ddf6e40ab@freebsd.org> References: <20230331123936.540020-1-corvink@FreeBSD.org> <365212d5-75e4-1717-b69a-5e1ddf6e40ab@freebsd.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-aiNppfRPHrOzCCq75c7N" User-Agent: Evolution 3.46.4 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N --=-aiNppfRPHrOzCCq75c7N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2023-04-05 at 07:54 +1000, Peter Grehan wrote: > > Using the qemu fwcfg has one big disadvantage: > > Bhyve's fwctl and qemu's fwcfg can't be used at the same time. Due > > to > > backward compatibility reasons, bhyve uses fwctl as default. So, > > using > > qemu's fwcfg to locate the rsdp only works, if the user changes his > > bhyve call. > > I don't want to use fwctl to locate the rsdp because IMHO we should > > migrate to fwcfg. So, we shouldn't add new features to fwctl. >=20 > =C2=A0 Ah ok. >=20 I take this as confirmation. If no one else complains, I'm going to send this patch to the EDKII project next week. > > Btw: I'm also preparing some patches to support qemu's acpi table > > loader. So, if we like to use qemu's fwcfg, we should use the > > loader > > instead of an own baked solution. >=20 > =C2=A0 Yes: that's a much better solution. The bhyve-generated ones are > very=20 > size-limited. >=20 FYI:=C2=A0https://reviews.freebsd.org/D38438 and https://reviews.freebsd.org/D38439 add support for qemu's table loader to bhyve. --=20 Kind regards, Corvin --=-aiNppfRPHrOzCCq75c7N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmQuY8sACgkQ2FTaVjFe AmqZExAAmJtCYhO8lFrzSQ3XCrjQmEbOlUDNI+6UFVVHlc0OhzdFq8Jd2NlVx3Ju RisC5IdxKMUciChRusDYfR9S5VqHVfTRLY64bjzbhaivrmFh46vt5Doa2UlXpKrh ZjZrPWMQdUqJv4qXeeHrPlyDzH6SrIrQxwTa5HAm5OQsexhQjCcc7fHR5GbPHH+G 5dqOmrTjfJOjHdEy+bdn3EedKWJz/2koX/qgQfFIvwWFNKb/fHXpS2G09ClCIw58 FoW4XZhO54GUDtg1I2KLsrsbj2Bdosjow4ZJcafF1BPg3scZcK3YEcgdgBkMuBay KDnzktMkOv9/BTi7kcTVtQ0E7YehUeic9rWln3o9gOlntOfP8O6MH+2Z+NVA7JuQ HpSE4TKa+m405J7uAKoiSK2rD79xI/PrKHDuJsfE9kcUxL/vUY+TXu8ZgnKtmvAJ +4Z73egboyWit6egJn9XlDJBw0zqqHGCyojMa/SbHi9hZLvf3kvA/83X2x34iva/ ed80m9mDJZ7i8GpStfQl5bxzgJRwmBI3m1+ObCkQB1H4mkS5jJsTlM7FEFenoYog a7sFZBYBpu9zLf0WPSut1+gtocHvxb+2D9kLnZv1DLzzxzISK7q46AfCeAAMlkbC mU2ulypU1mrxlIXjh0L1BQk89W88JmQnzBChsRYeBuEgSs/J76I= =ry59 -----END PGP SIGNATURE----- --=-aiNppfRPHrOzCCq75c7N--