From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K640Y-0001bd-14 for qemu-devel@nongnu.org; Tue, 10 Jun 2008 09:35:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K640W-0001aX-Jw for qemu-devel@nongnu.org; Tue, 10 Jun 2008 09:35:29 -0400 Received: from [199.232.76.173] (port=53464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K640W-0001aU-DX for qemu-devel@nongnu.org; Tue, 10 Jun 2008 09:35:28 -0400 Received: from mail.gmx.net ([213.165.64.20]:48466) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K640V-0007x9-Tk for qemu-devel@nongnu.org; Tue, 10 Jun 2008 09:35:28 -0400 Message-ID: <019c01c8cafe$d64f6310$0201a8c0@zeug> From: "Sebastian Herbszt" References: Date: Tue, 10 Jun 2008 15:34:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Problem(s) with encrypted images Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > 1. Qemu-img doesn't show a password prompt when I create a new encrypted > image. It does show it when I convert a plain text image to an encrypted > one. After creating a new image with bdrv_create in qemu-img.c img_convert there is a bdrv_new_open which got read_password and bdrv_set_key. This seems to be missing from img_create. > 2. When I start qemu, it just hangs there waiting for (assumingly) the > password of the encrypted image. However I cannot find the place where the > prompt actually is. qemu_key_check in vl.c does use monitor_readline, so you should see a "Password:" prompt in the monitor window (press ctrl-alt-2 to get there). - Sebastian