Hi Stefan,
Thanks for your help. I find that the source code of qemu-1.2.0 doesn't have hw/block/. So I download the qemu-1.6.2. However it doesn't work. I run the configure like this:
./configure --enable-kvm --x86_64-softmmu
then make and make install.
I can start the vm using this command:
qemu-system-x86_64 -m 1024 -smp 2 -hda my.img
But the qemu is not using the kvm to accelerate. Then I add the "-enable-kvm" in the command. I connect to the vm via VNC. However, the vnc-viewer is just black and displays nothing.
It used to work fine with qemu-1.2.0 (qemu-kvm). Of course, with qemu-kvm, there is no need to add the "-enable-kvm" option.
So with qemu-1.6.2, did I miss any options?
Thanks!