mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Meta: Add "vdagent" character device for both qemu-vdagent and spicevmc
Previously we added it only if spice was available, but it's possible to build qemu with --disable-spice --enable-spice-protocol, which provides qemu-vdagent but no spicevmc. In such case we still configured qemu-vdagent to use "vdagent" device, but never actually defined it, so the qemu-vdagent was never working.
This commit is contained in:
parent
7ae2debf6e
commit
9399698aaa
Notes:
sideshowbarker
2024-07-17 18:27:50 +09:00
Author: https://github.com/speles Commit: https://github.com/SerenityOS/serenity/commit/9399698aaa Pull-request: https://github.com/SerenityOS/serenity/pull/12685
1 changed files with 4 additions and 0 deletions
|
@ -268,6 +268,10 @@ if [ "$SERENITY_ARCH" != "aarch64" ]; then
|
|||
if "${SERENITY_QEMU_BIN}" -chardev help | grep -iq spice; then
|
||||
SERENITY_COMMON_QEMU_ARGS="$SERENITY_COMMON_QEMU_ARGS
|
||||
-spice port=5930,agent-mouse=off,disable-ticketing=on
|
||||
"
|
||||
fi
|
||||
if "${SERENITY_QEMU_BIN}" -chardev help | grep -iq 'spice\|vdagent'; then
|
||||
SERENITY_COMMON_QEMU_ARGS="$SERENITY_COMMON_QEMU_ARGS
|
||||
-device virtserialport,chardev=vdagent,nr=1
|
||||
"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue