commit | a16c53b101a9897b0b2be96a1bb3bde7c04380f2 | [log] [tgz] |
---|---|---|
author | Anthony Liguori <[email protected]> | Mon Jun 06 08:25:06 2011 -0500 |
committer | Anthony Liguori <[email protected]> | Mon Jun 06 08:54:56 2011 -0500 |
tree | 033b72681e6c3d6ad96eede109f06b8c7edb633f | |
parent | 25f3151ece1d5881826232bebccc21b588d4e03e [diff] |
Fix regression introduced by -machine accel= Commit 85097db6 changed the timing when kvm_allowed is set until after kvm is initialized. During initialization, the ioeventfd initialization code checks kvm_enabled() and after this change, ioeventfd is effectively disabled. This causes a significant regression in performance. Fix this by setting kvm_allowed before calling init. Reported-by: Khoa Huynh <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>