Date: Thu, 7 Apr 2022 17:02:30 +0000 From: =?utf-8?B?Q29ydmluIEvDtmhuZQ==?= <C.Koehne@beckhoff.com> To: Mario Marietto <marietto2008@gmail.com>, Rebecca Cran <rebecca@bsdio.com> Cc: Peter Grehan <grehan@freebsd.org>, "devel@edk2.groups.io" <devel@edk2.groups.io>, Ard Biesheuvel <ardb+tianocore@kernel.org>, "Jiewen Yao" <jiewen.yao@intel.com>, Jordan Justen <jordan.l.justen@intel.com>, FreeBSD Virtualization <freebsd-virtualization@freebsd.org>, Gerd Hoffmann <kraxel@redhat.com> Subject: RE: [edk2-devel] [PATCH v2] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg Message-ID: <3fd645d1e2d049e49c96d47f838331e7@beckhoff.com> In-Reply-To: <CA%2B1FSiiYSVb1ZJYXQURpDNUe-qY9Bm_hvC6iGak_M465nP%2BPiQ@mail.gmail.com> References: <20220329101417.617-1-c.koehne@beckhoff.com> <b799a8e3f6de41eca391124ae553deec@beckhoff.com> <dc7769bd-372c-8d57-c683-ad845359b318@bsdio.com> <c6087bea-ed0e-ba94-4f58-ada1bf049ad2@freebsd.org> <7cdf6ac12fbc499fb846f85782d06e21@beckhoff.com> <8dc8c192-1bc6-71cc-d572-eda275724e99@bsdio.com> <CA%2B1FSiiYSVb1ZJYXQURpDNUe-qY9Bm_hvC6iGak_M465nP%2BPiQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi Mario, > im trying to test the patch on my pc,that has two graphic cards,the > intel coffee lake and the nvidia. i tried to start the pc from the > nvidia card and ive configured the xorg.conf file giving the > proper bus id value. in addition ive loaded the kernel.ko file > from the boot loader.conf i have removed the intel and the drm > drivers used by the Intel graphic card. unfortunately my pc wont > boot from the nvidia card. my mouse and keyboard freezes just > before the desktop manager (xfce and kde5) starts. You’re misunderstanding the intention of this patch. It has nothing to do with GPU passthrough. The only thing it changes is how bhyve reports the number of vcpus to the guest. If you like to test the patch, rebuild OVMF with this patch, start a VM and check if the guest detects the correct number of cpus. Best regards Corvin Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 [-- Attachment #2 --] <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:11.0pt; font-family:"Calibri",sans-serif;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> </head> <body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"> <div id="OLX_DISCLAIMER_MARKER" style="visibility:hidden;mso-line-height-rule:exactly;line-height:0px"> </div> <div class="WordSection1"> <p class="MsoNormal">Hi Mario,<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">> im trying to test the patch on my pc,that has two graphic cards,the <o:p></o:p></p> <p class="MsoNormal">> intel coffee lake and the nvidia. i tried to start the pc from the <o:p></o:p></p> <p class="MsoNormal">> nvidia card and ive configured the xorg.conf file giving the <o:p></o:p></p> <p class="MsoNormal">> proper bus id value. in addition ive loaded the kernel.ko file <o:p></o:p></p> <p class="MsoNormal">> from the boot loader.conf i have removed the intel and the drm <o:p></o:p></p> <p class="MsoNormal">> drivers used by the Intel graphic card. unfortunately my pc wont <o:p></o:p></p> <p class="MsoNormal">> boot from the nvidia card. my mouse and keyboard freezes just <o:p></o:p></p> <p class="MsoNormal">> before the desktop manager (xfce and kde5) starts.<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">You’re misunderstanding the intention of this patch. It has nothing to <o:p></o:p></p> <p class="MsoNormal">do with GPU passthrough. The only thing it changes is how bhyve <o:p></o:p></p> <p class="MsoNormal">reports the number of vcpus to the guest. If you like to test the <o:p></o:p></p> <p class="MsoNormal">patch, rebuild OVMF with this patch, start a VM and check if the <o:p></o:p></p> <p class="MsoNormal">guest detects the correct number of cpus.<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Best regards<o:p></o:p></p> <p class="MsoNormal">Corvin<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> </div> <br> <span style="FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt">Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff<br> Registered office: Verl, Germany | Register court: Guetersloh HRA 7075</span> <br> <br> </body> </html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3fd645d1e2d049e49c96d47f838331e7>
