qemu-launcher runs parameter:"-kernel-kqemu". This should be "-enable-kvm"

Bug #1247395 reported by Rolf-deenen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-launcher (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When creating and starting a virtual machine through qemu-launcher, it will run unaccelerated and therefore very slow. In my case this is because qemu-launcher runs:

 /usr/bin/qemu-system-x86_64 -boot c -m 256 -hda 'MyDisk1' -cdrom 'debian-7.2.0-amd64-netinst.iso' -net nic,vlan=0 -net user,vlan=0 -localtime -kernel-kqemu

This should be:

/usr/bin/qemu-system-x86_64 -boot c -m 256 -hda 'MyDisk1' -cdrom 'debian-7.2.0-amd64-netinst.iso' -net nic,vlan=0 -net user,vlan=0 -localtime -enable-kvm >>>>>> (notice the last parameter.)

This can be changed, as I did on my machine on line 1319 of /usr/bin/qemu-launcher

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qemu-launcher (Ubuntu):
status: New → Confirmed
Revision history for this message
braoult (braoult) wrote :

A workaround, instead of editing /usr/bin/qemu-launcher is to (in Emulator tab):
- select Acceleration: Enable
- add "--enable-kvm" in Additional arguments

Tested on Saucy.

qemu-launcher 1.7.4-1ubuntu2
qemu 1.5.0+dfsg-3ubuntu5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.