Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2024 00:28:41 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   How to analyze some precompiled bhyve files with the goal to develop a patch...
Message-ID:  <CA%2B1FSig=JnB4prN1oWykp6n-2eWv4aHGjvXif1iku4EH7uzEtA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--00000000000088a668061c4b3e11
Content-Type: text/plain; charset="UTF-8"

Hello to each bhyve developers.

Some of you already know that I have been able to correctly pass thru
correctly my gpu,the geforce RTX 2080 ti inside a Windows 11 vm. For sure I
don't know why it works,because it didn't work for a lot of years. I've
isolated all the files that should NOT be changed,otherwise it will not
work anymore. These files are the following :

[root@marietto /boot/kernel]==> sha1sum vmm-win.ko
acb0fe9992046abea9301f050a5c1189890c3ea6  vmm-win.ko

[root@marietto /boot/kernel]==> sha1sum kernel
1ab36c7902958f0ee2026854498a90cb171f5d64  kernel

[root@marietto /usr/sbin]==> sha1sum bhyve-win
726b2c99e3968042ff5ce904b03b80dee3019ff4  bhyve-win

[root@marietto /usr/sbin]==> sha1sum bhyvectl
33eb84464492b0a75149067931747f4c4e10aeb7  bhyvectl

[root@marietto /usr/sbin]==> sha1sum bhyveload
7e2d1dfaa0351b36434a30c174ce3d6df31971fc  bhyveload

This is the FreeBSD version that I'm using :

[root@marietto /usr/sbin]==> uname -a
FreeBSD marietto 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0: Tue Mar 26
20:26:20 UTC 2024
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
amd64

Today I've upgraded the packages and the passthru stopped working. Maybe
because bhyve and some other components have been changed and the kernel
has been recompiled.

It means that I don't know how to upgrade the system without breaking the
passthru of my gpu inside a Windows 11 vm.

Can someone give me some suggestions ? Can I keep bhyve as is but at the
same time can I upgrade the rest of the system ? And even more important :
is there a way for you,developers,to analyze the bhyve files that I'm using
with the goal to understand why the passthru works great for me and
then,develop a patch and merge it officially ? I think that this is the
only way that I have for keeping the whole system in sync with the changes
made to the system without breaking the passthru functionality that I need.

Thanks.

-- 
Mario.

--00000000000088a668061c4b3e11
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello to each bhyve developers.</div><div><br></div><=
div>Some of you already know that I have been able to correctly pass thru c=
orrectly my gpu,the geforce RTX 2080 ti inside a Windows 11 vm. For sure I =
don&#39;t know why it works,because it didn&#39;t work for a lot of years. =
I&#39;ve isolated all the files that should NOT be changed,otherwise it wil=
l not work anymore. These files are the following :</div><div><br></div><di=
v>[root@marietto /boot/kernel]=3D=3D&gt; sha1sum vmm-win.ko =C2=A0<br>acb0f=
e9992046abea9301f050a5c1189890c3ea6 =C2=A0vmm-win.ko<br></div><div><br></di=
v><div>[root@marietto /boot/kernel]=3D=3D&gt; sha1sum kernel =C2=A0 =C2=A0 =
=C2=A0 <br>1ab36c7902958f0ee2026854498a90cb171f5d64 =C2=A0kernel</div><div>=
<br></div><div>[root@marietto /usr/sbin]=3D=3D&gt; sha1sum bhyve-win<br>726=
b2c99e3968042ff5ce904b03b80dee3019ff4 =C2=A0bhyve-win</div><div><br></div><=
div>[root@marietto /usr/sbin]=3D=3D&gt; sha1sum bhyvectl <br>33eb84464492b0=
a75149067931747f4c4e10aeb7 =C2=A0bhyvectl</div><div><br></div><div>[root@ma=
rietto /usr/sbin]=3D=3D&gt; sha1sum bhyveload<br>7e2d1dfaa0351b36434a30c174=
ce3d6df31971fc =C2=A0bhyveload</div><div><br></div><div>This is the FreeBSD=
 version that I&#39;m using :</div><div><br></div><div>[root@marietto /usr/=
sbin]=3D=3D&gt; uname -a<br></div><div>FreeBSD marietto 14.0-RELEASE-p6 Fre=
eBSD 14.0-RELEASE-p6 #0: Tue Mar 26 20:26:20 UTC 2024 =C2=A0 =C2=A0 root@am=
d64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64<=
/div><div><br></div><div>Today I&#39;ve upgraded the packages and the passt=
hru stopped working. Maybe because bhyve and some other components have bee=
n changed and the kernel has been recompiled. <br></div><div><br></div><div=
>It means that I don&#39;t know how to upgrade the system without breaking =
the passthru of my gpu inside a Windows 11 vm.</div><div><br></div><div>Can=
 someone give me some suggestions ? Can I keep bhyve as is but at the same =
time can I upgrade the rest of the system ? And even more important : is th=
ere a way for you,developers,to analyze the bhyve files that I&#39;m using =
with the goal to understand why the passthru works great for me and then,de=
velop a patch and merge it officially ? I think that this is the only way t=
hat I have for keeping the whole system in sync with the changes made to th=
e system without breaking the passthru functionality that I need. <br></div=
><div><br></div><div>Thanks.<br></div><div><br></div><span class=3D"gmail_s=
ignature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" d=
ata-smartmail=3D"gmail_signature">Mario.<br></div></div>

--00000000000088a668061c4b3e11--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSig=JnB4prN1oWykp6n-2eWv4aHGjvXif1iku4EH7uzEtA>