mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-11 20:01:48 +00:00
tool: Add keyboard and mouse devices to virt_qemu.
Now that we have appropriate native driver for them add keyboard and mouse devices to virt_qemu machine. Make sure qemu exposes those new devices in modern, VirtIO 1.0 mode. At leasts qemu 5.1.0 still uses pre 1.0 mode in default setup. Issue #4282
This commit is contained in:
committed by
Christian Helmuth
parent
60f1a1a554
commit
80d11ca751
@ -117,6 +117,9 @@ proc run_power_on { } {
|
|||||||
append qemu_args " -cpu cortex-a15 -smp 2"
|
append qemu_args " -cpu cortex-a15 -smp 2"
|
||||||
}
|
}
|
||||||
append qemu_args " -m 2048"
|
append qemu_args " -m 2048"
|
||||||
|
append qemu_args " -global virtio-mmio.force-legacy=false "
|
||||||
|
append qemu_args " -device virtio-mouse-device"
|
||||||
|
append qemu_args " -device virtio-keyboard-device"
|
||||||
}
|
}
|
||||||
|
|
||||||
# on x86, we support booting via pxe or iso/disk image
|
# on x86, we support booting via pxe or iso/disk image
|
||||||
|
Reference in New Issue
Block a user