aliguori b786b7ccbd monitor: Rework early disk password inquiry (Jan Kiszka)
Reading the passwords for encrypted hard disks during early startup is
broken (I guess for quiet a while now):
 - No monitor terminal is ready for input at this point
 - Forcing all mux'ed terminals into monitor mode can confuse other
   users of that channels

To overcome these issues and to lay the ground for a clean decoupling of
monitor terminals, this patch changes the initial password inquiry as
follows:
 - Prevent autostart if there is some encrypted disk
 - Once the user tries to resume the VM, prompt for all missing
   passwords
 - Only resume if all passwords were accepted

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10_0@6699 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-05 19:42:40 +00:00
..
2008-12-30 19:01:19 +00:00
2008-12-13 09:32:43 +00:00
2009-02-06 00:49:42 +00:00
2008-12-13 09:32:43 +00:00
2009-01-18 12:16:26 +00:00
2009-01-14 14:47:56 +00:00
2009-02-06 00:15:19 +00:00
2009-01-16 21:38:58 +00:00
2009-01-16 21:38:58 +00:00
2009-03-04 07:20:40 +00:00
2008-10-31 17:25:56 +00:00
2009-03-04 07:20:40 +00:00
2009-03-04 07:20:40 +00:00
2009-02-07 10:48:26 +00:00
2008-12-13 09:32:43 +00:00
2009-01-16 21:13:58 +00:00
2009-01-20 04:15:47 +00:00
2009-01-08 18:52:52 +00:00
2008-12-10 15:02:07 +00:00
2008-12-13 09:32:43 +00:00
2008-12-03 22:48:44 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2009-02-11 18:04:12 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2009-03-03 06:23:17 +00:00
2009-02-07 15:18:47 +00:00
2009-03-03 06:12:03 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2009-02-21 11:13:10 +00:00
2009-02-07 15:19:40 +00:00
2009-02-08 16:01:38 +00:00
2009-01-16 19:07:10 +00:00
2008-12-04 20:33:06 +00:00
2008-12-03 22:48:44 +00:00