
From: Simon Glass <sjg@chromium.org> Switch the x86 QEMU configuration to use virtio-tablet-pci instead of usb-tablet. This allows testing the new virtio input device driver and does not need 'usb start' to work. The virtio tablet provides the same functionality as USB tablet but integrates with the VirtIO subsystem that U-Boot already supports. Signed-off-by: Simon Glass <sjg@chromium.org> --- scripts/build-qemu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-qemu b/scripts/build-qemu index 62f0bc41fad..cba3a54b9e6 100755 --- a/scripts/build-qemu +++ b/scripts/build-qemu @@ -278,7 +278,8 @@ class BuildQemu: qemu_cmd.extend(['-display', 'default,show-cursor=on']) elif self.args.arch == 'x86': qemu_cmd.extend(['-device', 'qemu-xhci']) - qemu_cmd.extend(['-device', 'usb-kbd', '-device', 'usb-tablet']) + qemu_cmd.extend(['-device', 'usb-kbd']) + qemu_cmd.extend(['-device', 'virtio-tablet-pci']) qemu_cmd.extend(['-display', 'default,show-cursor=on']) if not any(item.startswith('-serial') for item in self.qemu_extra): qemu_cmd.extend(['-serial', 'mon:stdio']) -- 2.43.0 base-commit: 203f498cf558fb86f9e66cafdb7cfee8f0724139 branch: tab