[Bug 892050] Re: qemu refused to run without acceleration

Scott Moser smoser at ubuntu.com
Fri Nov 18 15:03:40 UTC 2011


serge said in irc that adding:
 -machine pc,accel=kvm:tcg

will allow the old behavior of accelerated if possible, unaccelerated if
not.

Can we possibly add a message about that if the user runs kvm without hardware support? Ie:
  You have invoked kvm but acceleration is not available on this CPU.
  If you want to run with software acceleration (which is much slower)
 add the following arguments to you kvm line.


Generally i don't like the upstream decision, but probably not worth carrying delta for it.  The case that will catch people is where they're testing some software that goes through libvirt or another abstraction layer.  They were getting the software path through 'kvm' and were fine with it being slow.  Devstack is an example of this.  Often times I would just tell openstack to use libvirt-kvm because that would work fast if available and slowly if it was not.  Now, people will have to build the logic of "if i have hardware acceleration, then invoke qemu-system-x86, otherwise, invoke kvm" further up in the stack.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/892050

Title:
  qemu refused to run without acceleration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/892050/+subscriptions



More information about the Ubuntu-server-bugs mailing list