How to analyze some precompiled bhyve files with the goal to develop a patch...
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jul 2024 22:28:41 UTC
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.