qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] qemu-system-x86_64 and ps/2 keyboard emulation


From: Wink Saville
Subject: [Qemu-discuss] qemu-system-x86_64 and ps/2 keyboard emulation
Date: Wed, 13 Apr 2016 19:20:50 +0000

I'm using qemu-system-x86_64 and now trying to test a baremetal program that uses serial port for debug output and a PS/2 keyboard for user input. This setup is working on my test hardware, but I'm unable to get it to work on qemu-system-x86_64:

My command line is as follows:

qemu-system-x86_64 -enable-kvm -cpu host -nographic -no-reboot -drive format=raw,file=/home/wink/prgs/sadie/build-pc_x86_64/arch/x86/libs/ac_keyboard_impl/tests/test_ac_keyboard_impl.img

I'm using a grub boot loader with the following gurb.cfg:

$ cat grub.cfg
serial --unit=0 --speed=115200
terminal_output serial
timeout=1
default=0
menuentry "test_ac_keyboard_impl" {
  multiboot2 /boot/test_ac_keyboard_impl test_ac_keyboard_impl
}

Any suggestions appreciated,

Wink


reply via email to

[Prev in Thread] Current Thread [Next in Thread]