A recent kvm / kernel update breaks kvm virtualization on my gentoo 2008.0 stable version machine.
The situation is similar to this guy:
There is a bug in 2.6.25 kernel about HLT instruction which doesn't work well under newer kvm code, which is fixed in 18.104.22.168, but gentoo's kernel is just too old for that, after a week of search, I found the solution is just a line of code change.
@@ -1666,7 +1666,7 @@ special_insn:
case 0xf4: /* hlt */
ctxt->vcpu->arch.halt_request = 1;
- goto done;
case 0xf5: /* cmc */
/* complement carry flag from eflags reg */
ctxt->eflags ^= EFLG_CF;