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