Re: qemu_mutex deadlock with -smp 2

Avi Kivity
2008-01-15T15:07:46Z

Darrick J. Wong wrote:
> Hi,
>
> I'm attempting to run a KVM instance with 2 CPUs configured. The VM
> appears to get most of the way through booting Ubuntu and then kvm locks
> up. At that point there's nothing printed on stdout from the kvm
> process and the monitor doesn't respond either. The host's kernel is
> 2.6.24-rc7 and the kvm binary is built from git.
>
> Here's the command line I use:
>
>
[...]

> It appears that we're deadlocked on qemu_mutex; it would also appear
> that disabling the network interface buys me a few more seconds until
> the lockup occurs. Most of the time it is the case that post_kvm_run()
> locked qemu_mutex and then kvm_eat_signal() tries to lock it as well.
>

Are you using qcow? If so, this may be the recently-committed smp aio
deadlock fix. See 6bcdef5c1157bd7b526491252d20f8007ff2e9dc. Please try
a fresh qemu-userspace.git.

--
error compiling committee.c: too many arguments to function