OSDN Git Service

qemu-char: initialize chr_write_lock
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Jun 2014 07:04:57 +0000 (09:04 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Jun 2014 12:13:54 +0000 (13:13 +0100)
commitf3db17b9514b8d724f8d6111a9f9608ff8bad631
tree13b47eb4326471092a672a7d916fb26ced9e0680
parent0931304788ecac6c7871f570c7ac8407b54e30c6
qemu-char: initialize chr_write_lock

Otherwise, Windows fails with a deadlock.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1403679897-11480-1-git-send-email-pbonzini@redhat.com
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
qemu-char.c