After some more digging I found out that qemu also has this very issue, but it happens a bit differently. In particular, this very same winXP test guest freezes in upstream qemu with -enable-kvm on _shutdown_, not on restart. In qemu-kvm it happens on restart but not on shutdown.
And bisecting plain qemu leads to this commit:
commit 12d4536f7d911b6d87a766ad7300482ea663cea2
Author: Anthony Liguori <email address hidden>
Date: Mon Aug 22 08:24:58 2011 -0500
main: force enabling of I/O thread
As far as I remember, qemu-kvm always had iothread enabled, that's why the bug initially was only reproducible on qemu-kvm.
After some more digging I found out that qemu also has this very issue, but it happens a bit differently. In particular, this very same winXP test guest freezes in upstream qemu with -enable-kvm on _shutdown_, not on restart. In qemu-kvm it happens on restart but not on shutdown.
And bisecting plain qemu leads to this commit:
commit 12d4536f7d911b6 d87a766ad730048 2ea663cea2
Author: Anthony Liguori <email address hidden>
Date: Mon Aug 22 08:24:58 2011 -0500
main: force enabling of I/O thread
As far as I remember, qemu-kvm always had iothread enabled, that's why the bug initially was only reproducible on qemu-kvm.