mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
6ecae6adb3
In the default setting the number of root ports is set to 4. This also limits the number of USB host devices that may be attached to the VM. Since the USB webcam shares the slots, that leaves us with only 3 available USB2 slots to attach USB host devices. Depending on the use-case that might not be enough. This commit statically increases the number of ports to 8 each and adapts the qemu-usb glue-code accordingly. Many thanks to Raphael for initial investigation and workaround. Fixes #4310.
19 lines
775 B
Plaintext
19 lines
775 B
Plaintext
LICENSE := GPLv2
|
|
VERSION := 5.2.0
|
|
DOWNLOADS := qemu.archive
|
|
|
|
URL(qemu) := https://download.qemu.org/qemu-$(VERSION).tar.xz
|
|
SHA(qemu) := cb18d889b628fbe637672b0326789d9b0e3b8027e0445b936537c78549df17bc
|
|
DIR(qemu) := src/lib/qemu
|
|
LIST_FILE := $(REP_DIR)/src/lib/qemu-usb/files.list
|
|
TAR_OPT(qemu) := --strip-components=1 --files-from - < <(sed 's/-x.x.x/-$(VERSION)/g' $(LIST_FILE))
|
|
HASH_INPUT += $(REP_DIR)/src/lib/qemu-usb/files.list
|
|
|
|
PATCHES := src/lib/qemu-usb/patches/xhci_pci_register.patch \
|
|
src/lib/qemu-usb/patches/usb_bus_nfree.patch \
|
|
src/lib/qemu-usb/patches/hcd-xhci-bei.patch \
|
|
src/lib/qemu-usb/patches/hcd-xhci-numports.patch \
|
|
src/lib/qemu-usb/patches/xhci_frame_wrap.patch
|
|
|
|
PATCH_OPT:= -p1
|