From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web11.9823.1625487350535611395 for ; Mon, 05 Jul 2021 05:15:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J1dE3OU2; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625487349; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dUfKpz11t9iF731IkJUnsoXcLqLz2GImR58RZW5Aot4=; b=J1dE3OU2eh3T9gUfZVcy7YgE/mao4hEBeVIlUmphQED89M2Y4edX8/EiuMDW8KIuuZYeMr XjmqtWPOY7v95bnyI0DGxVdwtyqP10WEHXTe+Hb1HSvZzg6azHBSJhu3XHg7w38ZEoXTq5 2SYdA1zXFtnaHr4JAyYSw0VvZmQ5YvU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-485-2PpccS3fPDuRK9iqdhpAkA-1; Mon, 05 Jul 2021 08:15:46 -0400 X-MC-Unique: 2PpccS3fPDuRK9iqdhpAkA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C7696804308; Mon, 5 Jul 2021 12:15:44 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-174.ams2.redhat.com [10.36.114.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1EA9819710; Mon, 5 Jul 2021 12:15:42 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH v4 1/2] OvmfPkg/Bhyve: add USB support To: devel@edk2.groups.io, c.koehne@beckhoff.com Cc: p.bruenn@beckhoff.com, grehan@freebsd.org, rebecca@bsdio.com, ardb+tianocore@kernel.org, jordan.l.justen@intel.com References: <20210705110842.14088-1-c.koehne@beckhoff.com> From: "Laszlo Ersek" Message-ID: <43fb838f-a404-7720-015e-e327d8388e38@redhat.com> Date: Mon, 5 Jul 2021 14:15:41 +0200 MIME-Version: 1.0 In-Reply-To: <20210705110842.14088-1-c.koehne@beckhoff.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 07/05/21 13:08, Corvin Köhne wrote: > An USB driver is required to use a keyboard or mouse while installing > an OS or while in a bootloader menu like grub when using GPU + USB > Passthrough. > > Reviewed-by: Peter Grehan > Acked-by: Rebecca Cran > Signed-off-by: Corvin Köhne > --- > OvmfPkg/Bhyve/BhyveX64.dsc | 9 +++++++++ > OvmfPkg/Bhyve/BhyveX64.fdf | 8 ++++++++ > 2 files changed, 17 insertions(+) > > diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc > index 39cd354932..a0a2071b86 100644 > --- a/OvmfPkg/Bhyve/BhyveX64.dsc > +++ b/OvmfPkg/Bhyve/BhyveX64.dsc > @@ -163,6 +163,7 @@ > FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf > UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf > SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf > + UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf > SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf > QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf > QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf > @@ -778,6 +779,14 @@ > !endif > OvmfPkg/VirtioNetDxe/VirtioNet.inf > > + # > + # Usb Support > + # > + MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf > + MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf > + MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf > + MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf > + > !ifdef $(CSM_ENABLE) > IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf { > > diff --git a/OvmfPkg/Bhyve/BhyveX64.fdf b/OvmfPkg/Bhyve/BhyveX64.fdf > index f4050c4934..f9e9a4cc3e 100644 > --- a/OvmfPkg/Bhyve/BhyveX64.fdf > +++ b/OvmfPkg/Bhyve/BhyveX64.fdf > @@ -292,6 +292,14 @@ INF MdeModulePkg/Logo/LogoDxe.inf > !include NetworkPkg/Network.fdf.inc > INF OvmfPkg/VirtioNetDxe/VirtioNet.inf > > +# > +# Usb Support > +# > +INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf > +INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf > +INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf > +INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf > + > !ifdef $(CSM_ENABLE) > INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf > !endif > Merged as commit range fea7901dba72..44ced03798d3, via . Thanks Laszlo