Skip to contentSkip to conversation

latest git - main thread spinning

DISCUSSION David S. Ahern 2 participants 2 messages Apr 12, 2010 KVM

lore
Share & tools
lore
#0 lore raw

With the latest qemu-kvm.git (fresh pull today, 11-April-2010) the main qemu thread is spinning.

It looks like the recent sync with qemu.git is the culprit -- specifically, d6f4ade214a9f74dca9495b83a24ff9c113e4f9a from Paolo on March 10 changed the semantics of main_loop_wait from a timeout value to a nonblocking argument. kvm_main_loop() still invokes it with the argument of 1000 which means the timeout for select is set to 0.

David

#1 lore raw
Quoted 10 lines · David S. Ahern

With the latest qemu-kvm.git (fresh pull today, 11-April-2010) the main qemu thread is spinning.

It looks like the recent sync with qemu.git is the culprit -- specifically, d6f4ade214a9f74dca9495b83a24ff9c113e4f9a from Paolo on March 10 changed the semantics of main_loop_wait from a timeout value to a nonblocking argument. kvm_main_loop() still invokes it with the argument of 1000 which means the timeout for select is set to 0.

David

David,

Just pushed a fix to -next branch.

Thanks