Skip to contentSkip to conversation

qemu-system-x86_64 bugs

Qemu-devel Constantine Kousoulos 1 participant 1 message Jun 29, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I have qemu-0.9.0 (installed via deb package) on debian-amd64 unstable on a turion64 hp notebook.

I have detected the following bugs when using the command "qemu-system-x86_64 -hda /dev/hda":

1) I use grub-0.97 to boot my system. Qemu (meaning the above command) always boots the same image although it may have changed between two uses of qemu. For example, if i use qemu and grub has the following options at boot time

Linux
MyOS1
MyOS2

i choose MyOS1 the first time. I close qemu, modify and rebuild MyOS1, then call qemu again. When i choose MyOS1, qemu will run the os image it run the first time and not the new image. This will repeat until i reboot my system.

2) When i use the monitor, qemu refuses to print 64-bit registers rax, rbx, rsp, etc. The command "info registers" does not show any of the above registers. The command "p $rax" produces the message "unknown register". In addition, it doesn't print either the 32-bit registers eax. ebx, esp, etc when using the command "info registers". However it does print the previously mentioned regs when the command "p $e**" is used. Regs e** seem to represent regs r** because the former can "contain" 64-bit values. In one of my test kernels, i did a "movq $0xffffffffff, %rdi" and from within qemu "p $edi" produced 0xffffffffff.

Constantine

PS I'm not registered to this list so please cc me to your replies.