summary refs log tree commit diff stats
path: root/hw/vga-isa.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-06-06 08:25:06 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-06-06 08:54:56 -0500
commita16c53b101a9897b0b2be96a1bb3bde7c04380f2 (patch)
tree033b72681e6c3d6ad96eede109f06b8c7edb633f /hw/vga-isa.c
parent25f3151ece1d5881826232bebccc21b588d4e03e (diff)
downloadfocaccia-qemu-a16c53b101a9897b0b2be96a1bb3bde7c04380f2.tar.gz
focaccia-qemu-a16c53b101a9897b0b2be96a1bb3bde7c04380f2.zip
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 <khoa@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga-isa.c')
0 files changed, 0 insertions, 0 deletions