Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OvmfPkg/Bhyve USB/GPU passthrough improvements, v4 -- push #1790

Merged
merged 2 commits into from Jul 5, 2021

Commits on Jul 5, 2021

  1. OvmfPkg/Bhyve: add USB support

    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 <grehan@freebsd.org>
    Acked-by: Rebecca Cran <rebecca@bsdio.com>
    Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
    Message-Id: <20210705110842.14088-1-c.koehne@beckhoff.com>
    ckoehne authored and lersek committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    e646e35 View commit details
    Browse the repository at this point in the history
  2. OvmfPkg/Bhyve: use static PCI32Base address

    It's neccessary to allocate a Graphics Stolen Memory area to enable
    GPU-Passthrough for integrated Intel GPUs. Therefore, use a new
    memory layout with a static Pci32Baseaddress.
    
    Old layout:
    	[...        , lowmemlimit] RAM
    	[lowmemlimit, 0xE000 0000] PCI Space
    New layout:
    	[...        , lowmemlimit] RAM
    	[lowmemlimit, gsmbase    ] Memory hole (may be absent)
    	[gsmbase    , 0xC000 0000] GSM (may be absent)
    	[0xC000 0000, 0xE000 0000] PCI Space
    
    Reviewed-by: Peter Grehan <grehan@freebsd.org>
    Acked-by: Rebecca Cran <rebecca@bsdio.com>
    Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
    Message-Id: <20210705110842.14088-2-c.koehne@beckhoff.com>
    ckoehne authored and lersek committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    0540d39 View commit details
    Browse the repository at this point in the history