kvm-29 failing to exit or reboot

Charles Duffy
2007-07-17T02:19:21Z

Per subject. Running 2.6.20-gentoo-r6 with the kvm-29 kernel module on
an Intel chip; both host and guest are 64-bit.

The end of the installer I'm trying to test goes like this:
=== snip
+ sync
+ reboot -f
md: stopping all md devices.
Restarting system.
machine restart
=== snip

...and there it sits (eating no CPU time, at least) until I kill the
process. I'm running with -nographic, and "ctrl+a x" [like the other
console commands] is nonresponsive after the child goes into this state
(though it works fine beforehand).

Normally, this wouldn't be particularly annoying -- but since I'm trying
to use qemu scriptably, this means I may need to use an expect script to
monitor output, figure out when the guest is intended to shut down or
reboot, and forcefully kill the process -- not exactly my preferred way
of doing things.

Is this known behavior? If not, is there something I can do to help
diagnose its cause?