Преглед на файлове

Meta: Add virtio input devices to the RISC-V machine in run.py

Sönke Holz преди 1 година
родител
ревизия
dc92bc284f
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      Meta/run.py

+ 6 - 0
Meta/run.py

@@ -733,6 +733,12 @@ def set_up_machine_devices(config: Configuration):
         config.extra_arguments.extend(["-serial", "stdio"])
         config.kernel_cmdline.extend(["serial_debug", "nvme_poll"])
         config.qemu_cpu = None
+        config.add_devices(
+            [
+                "virtio-keyboard",
+                "virtio-tablet",
+            ]
+        )
         return
 
     # Machine specific base setups