Skip to content

Commit 7a7d92e

Browse files
committed
chore(hack): add keyboard and mouse to dev qemu
1 parent b34c171 commit 7a7d92e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hack/dev/boot.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ else
5555
fi
5656
fi
5757

58+
if [ "${NO_INPUT}" != "1" ]; then
59+
set -- "${@}" \
60+
-device qemu-xhci \
61+
-device usb-kbd \
62+
-device usb-mouse
63+
fi
64+
5865
rm -f "${FINAL_DIR}/ovmf-boot.fd"
5966
cp "${FINAL_DIR}/ovmf.fd" "${FINAL_DIR}/ovmf-boot.fd"
6067
if [ "${TARGET_ARCH}" = "aarch64" ]; then

0 commit comments

Comments
 (0)