6

I'm running Ubuntu 11.04 (Natty Narwhal) 64-bit and recently installed qemu-kvm. Now I want to start a 64-bit live CD using:

qemu -m 512 -boot d -cdrom archlinux-2010.05-netinstall-x86_64.iso

This loads the image, and I can select to boot Arch Linux the normal way, but it will give me an error that I have to use a 64-bit machine to run this live CD. Now, I tried to get a list of CPUs QEMU can emulate for me, and ended up with this output:

axle@z370l:~/Downloads$ qemu -cpu ?
x86           [n270]
x86         [athlon]
x86       [pentium3]
x86       [pentium2]
x86        [pentium]
x86            [486]
x86        [coreduo]
x86          [kvm32]
x86         [qemu32]
x86          [kvm64]
x86       [core2duo]
x86         [phenom]
x86         [qemu64]
x86           [host]

So, how do I make QEMU emulate a 64-bit CPU?

5

I asked myself the same question a few days ago and couldn't figure it out. Now I see your list (perhaps I couldn't find how to get this list?) and the obvious choices seem to be kvm64, qemu64 and host. I also tried core2duo and phenom, they also work.

| improve this answer | |
  • Oh... dang it, I got confused by the x86 in front of all these entries... But now it get's a little clearer, since 64bit still is x86_64 ;). This solved the problem. – axle May 4 '11 at 19:16
5

I asked myself the same question a few days ago and couldn't figure it out. Now I see your >list (perhaps I couldn't find how to get this list?) and the obvious choices seem to be >kvm64, qemu64 and host. I also tried core2duo and phenom, they also work.

Running "qemu -cpu qemu64 ..." (or other architectures) did not work for me (on Debian Sid/unstable). I did get my 64bit ISO image to run with "qemu-system-x86_64 ..."

| improve this answer | |
  • 1
    Thank you. I can confirm that -cpu qemu64 (or the other) did not work for me on Debian Wheezy but qemu-system-x86_64 works. – Maxime Jul 2 '13 at 14:35
1

This command worked well for me, maybe it can help someone else:

qemu /path/to/hdfile -m 900 -vga std -enable-kvm -cdrom ~/file.iso -boot d -net user -usb -cpu kvm64
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.