Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 03-20-2011, 11:35 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 20

Rep: Reputation: 6
Unhappy [Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly?

I'm running debian unstable with qemu (and qemu-kvm) 0.12.5+dfsg-3. I had been running a windows 7 64-bit virtual machine for a while and then noticed that I've always been running the vm with

  qemu-system-x86_64 \
    -m 1024 \
    --enable-kvm \
but qemu-kvm package says I should run "kvm" directly. But that didn't work for the vm (stuck in boot up). Does it mean that I was not using kvm at all? (My processor supports it, and qemu console command "info kvm" says "kvm support: enabled")

I'm actually quite happy with current setup of 0.12.5 but windows 7 64 bit doesn't support the sound card, and I've tried new 0.14.0 qemu, but I have the same problem of stucking boot screen...

Could this be a Windows problem instead? Anyone upgraded qemu and old windows 7 64-bit vm breaks?
Old 03-21-2011, 12:51 PM   #2
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Originally Posted by gb2312 View Post
but qemu-kvm package says I should run "kvm" directly
Can you post the exact message?
Did you load the kvm module prior to trying qemu-kvm?
Old 03-21-2011, 02:05 PM   #3
LQ Newbie
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 6
I don't remember where I found the example, but "qemu-kvm" package does provide "kvm" command:
$ dpkg -L qemu-kvm
I did have kvm modules loaded (by /etc/init.d/qemu-kvm)
$ lsmod | grep kvm
kvm_intel              43515  3 
kvm                   255441  1 kvm_intel
Anyone experienced similar windows 7 64-bit bootup problem? I probably have to try a 32-bit one...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Attempt of qemu-kvm-0.14 patching via Gerds Hoffmann spice/qxl: locking fix for qemu-kvm on LXer Syndicated Linux News 0 03-14-2011 01:20 PM
LXer: Set up RH VirtIO SCSI driver on Windows XP KVM at KVM-QEMU Instance on F14 LXer Syndicated Linux News 14 01-09-2011 12:21 PM
LXer: Install Oracle 11gR2 on SL6 KVM at KVM-QEMU Instance on SL 6 (alpha 3) LXer Syndicated Linux News 2 01-01-2011 06:42 AM
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
Loading kvm-intel module for qemu-kvm 0.11.0 alkos333 Slackware 6 11-13-2009 10:01 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration