qemu: drive_init: Don't try to read passwords before monitor setupkvm-83-2.el5ovirt
commitd85affe545cc867935ca6b560da0b9f8290fc183
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 3 Feb 2009 20:51:14 +0000 (3 18:51 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 6 Feb 2009 12:47:42 +0000 (6 10:47 -0200)
treed9216f47df6998c4e89f08505ef4aa1e0c6da2cd
parent9945789cab4e4642f73605a5ca9911a9eb132214
qemu: drive_init: Don't try to read passwords before monitor setup

drive_init() calls qemu_key_check(), but it doesn't make sense
to call it before the monitor was set up. This makes
qemu hang forever waiting for a password on a monitor
that doesn't exist.

Removing that call will make the password to be read at
a proper time, at read_passwords().

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Upstream-status: submitted(qemu-devel)
qemu/vl.c