Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to setup KVM virtualization on my laptop Dell Inspiron 1526 (AMD64 Turion, 2GB RAM) running Ubuntu 9.04 desktop, kernel 2.6.28 and KVM-84 (the latest official versions supported by Ubuntu)

I can successfully create an image file using:
kvm-img create -f qcow2 10GB

but when I'm trying to start a virtual machine:
kvm -hda PathToImageFile -cdrom PathToIsoImage -boot d -m 512
the host os restarts when the guest os starts loading.

I've checked the logs, there are no useful messages, only something like kvm module loaded, and enabling/disabling virtualization on CPUx

Can anyone help me with this issue?

share|improve this question
1  
That sounds like a kernel bug. Have fun with that. –  womble Jul 1 '09 at 10:35

3 Answers 3

It sounds like there is a bug in enabling virtualization on the processor. This question shows you how to verify your CPU has AMD-V support.

Otherwise, as the commenter said, it could be a kernel issue, or even Ubuntu issue.

Even if you don't think the messages are "useful" it may help to post the exact messages.

share|improve this answer

KVM requires AMD-V support to work on AMD processors. I've only seen reference to AMD-V being on Opteron processors.

share|improve this answer
1  
AMD turion supports AMD-V. I did some tests with Fedora 11 live usb, and KVM worked fine –  Jovan Jul 1 '09 at 15:02

I would find that very unusual, I highly suggest to first go over; I know that Ubuntu by default goes the 'libvirt' way; however you should be able to install Ubuntu Jaunty and install the proper packages and get KVM up and running with minimal work.

Additionally it would be a great help to know what your 'guest' os is, for example; also check out Launchpad Bugs; and then lastly if that fails to work I would suggest updating to the latest version of KVM (kvm-87) as it more then likely help.

Ubuntu KVM Guide

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.