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
..
2009-02-01 19:26:20 +00:00
2009-02-27 22:16:47 +00:00
2008-12-30 19:01:19 +00:00
2009-02-05 22:06:05 +00:00
2009-01-15 22:34:14 +00:00
2009-01-16 19:04:14 +00:00
2009-02-01 19:26:20 +00:00
2009-02-05 22:06:05 +00:00
2008-11-20 22:14:40 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +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-01-26 21:47:27 +00:00
2009-02-06 00:49:42 +00:00
2009-01-04 22:05:52 +00:00
2009-02-09 17:00:41 +00:00
2009-03-02 16:42:42 +00:00
2009-01-04 22:05:52 +00:00
2008-11-09 00:28:40 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2008-12-13 09:32:43 +00:00
2009-02-27 19:53:57 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-01-18 12:16:26 +00:00
2009-02-26 16:40:31 +00:00
2009-01-16 19:04:14 +00:00
2008-12-22 20:33:55 +00:00
2009-02-05 22:06:05 +00:00
2009-01-16 19:04:14 +00:00
2009-02-11 15:21:22 +00:00
2009-02-05 22:06:05 +00:00
2009-02-11 15:19:52 +00:00
2009-02-01 19:26:20 +00:00
2009-02-05 22:06:05 +00:00
2009-01-14 14:47:56 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2008-11-04 20:29:29 +00:00
2009-02-22 11:59:59 +00:00
2009-02-05 22:06:05 +00:00
2009-02-22 11:59:59 +00:00
2009-02-22 11:59:59 +00:00
2009-01-16 19:04:14 +00:00
2009-01-09 00:04:35 +00:00
2009-02-05 22:06:05 +00:00
2009-02-06 00:15:19 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-02-01 19:26:20 +00:00
2009-02-01 19:26:20 +00:00
2009-01-16 19:04:14 +00:00
2009-02-05 22:06:05 +00:00
2008-12-30 19:01:19 +00:00
2009-01-16 21:38:58 +00:00
2009-01-16 21:38:58 +00:00
2008-11-11 16:46:33 +00:00
2009-01-16 19:04:14 +00:00
2009-01-26 20:32:18 +00:00
2009-02-05 22:06:05 +00:00
2009-03-04 07:20:40 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-02-11 15:21:04 +00:00
2009-02-11 15:21:04 +00:00
2008-10-31 17:25:56 +00:00
2009-02-05 22:06:05 +00:00
2009-01-04 22:05:52 +00:00
2009-03-05 19:01:46 +00:00
2009-02-05 22:06:05 +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
2009-02-01 19:26:20 +00:00
2009-01-16 19:04:14 +00:00
2008-12-22 20:33:55 +00:00
2009-02-05 22:06:05 +00:00
2008-12-13 09:32:43 +00:00
2009-01-16 19:04:14 +00:00
2009-01-13 19:39:36 +00:00
2009-01-24 18:06:21 +00:00
2009-02-08 14:51:19 +00:00
2009-01-16 19:04:14 +00:00
2009-01-24 18:06:21 +00:00
2009-01-15 22:34:14 +00:00
2009-01-16 21:13:58 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-02-08 15:53:20 +00:00
2009-02-08 15:53:20 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-01-20 04:15:47 +00:00
2009-02-11 15:19:52 +00:00
2009-02-09 17:00:41 +00:00
2009-01-18 14:08:04 +00:00
2009-01-18 14:08:04 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-01-16 19:04:14 +00:00
2009-01-04 22:05:52 +00:00
2009-01-16 19:04:14 +00:00
2009-01-04 22:05:52 +00:00
2009-02-07 15:20:14 +00:00
2009-01-16 19:04:14 +00:00
2009-01-04 22:05:52 +00:00
2009-03-02 16:42:14 +00:00
2009-03-02 16:42:04 +00:00
2009-01-16 19:04:14 +00:00
2009-02-05 22:06:05 +00:00
2009-02-27 20:12:36 +00:00
2009-02-27 20:12:36 +00:00
2009-01-08 18:52:52 +00:00
2009-02-11 15:21:54 +00:00
2009-02-11 15:21:48 +00:00
2009-03-02 16:42:23 +00:00
2008-12-10 15:02:07 +00:00
2008-12-13 09:32:43 +00:00
2009-02-11 15:19:52 +00:00
2008-12-03 22:48:44 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-02-01 19:26:20 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2009-02-05 22:06:05 +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-01-16 19:04:14 +00:00
2008-12-01 18:59:50 +00:00
2008-12-01 18:59:50 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2008-12-15 23:15:56 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2008-12-15 22:59:34 +00:00
2009-02-05 22:06:05 +00:00
2008-12-16 10:44:06 +00:00
2008-12-16 10:44:06 +00:00
2009-03-02 16:42:04 +00:00
2009-03-02 16:42:04 +00:00
2009-02-08 12:50:56 +00:00
2009-02-11 18:04:12 +00:00
2009-03-02 16:42:32 +00:00
2009-03-02 16:42:32 +00:00
2009-03-02 16:42:42 +00:00
2009-03-02 16:42:23 +00:00
2009-03-02 16:42:42 +00:00
2009-02-01 19:26:20 +00:00
2009-01-16 19:04:14 +00:00
2009-01-26 15:57:52 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-01 18:59:50 +00:00
2008-12-01 18:59:50 +00:00
2008-12-01 18:59:50 +00:00
2009-01-16 19:04:14 +00:00
2008-12-01 18:59:50 +00:00
2008-12-01 18:59:50 +00:00
2008-12-01 18:59:50 +00:00
2008-11-03 01:08:14 +00:00
2008-12-01 18:59:50 +00:00
2009-01-16 19:04:14 +00:00
2009-01-16 19:04:14 +00:00
2009-03-03 06:23:17 +00:00
2009-02-08 14:56:04 +00:00
2008-12-01 18:59:50 +00:00
2009-01-16 19:04:14 +00:00
2009-02-11 15:19:52 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-01-29 19:59:04 +00:00
2009-02-05 22:06:05 +00:00
2009-02-07 15:18:14 +00:00
2009-02-07 15:18:14 +00:00
2009-02-07 15:18:14 +00:00
2009-02-05 22:06:05 +00:00
2008-12-22 20:33:55 +00:00
2009-01-26 15:37:35 +00:00
2009-02-05 22:06:05 +00:00
2009-02-07 15:18:47 +00:00
2008-12-07 19:39:58 +00:00
2009-03-03 06:12:03 +00:00
2009-03-03 20:11:43 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2008-12-13 09:32:43 +00:00
2009-01-16 19:04:14 +00:00
2008-12-13 09:32:43 +00:00
2009-01-13 19:39:36 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-02-05 22:06:05 +00:00
2009-01-16 19:04:14 +00:00
2009-01-16 19:04:14 +00:00
2009-01-16 19:04:14 +00:00
2008-12-13 09:32:43 +00:00
2009-01-13 19:39:36 +00:00
2008-12-13 09:32:43 +00:00
2009-01-16 19:04:14 +00:00
2009-02-05 22:06:05 +00:00
2009-01-16 19:04:14 +00:00
2009-01-16 19:04:14 +00:00
2009-02-21 11:13:10 +00:00
2009-01-04 22:05:52 +00:00
2009-01-16 19:04:14 +00:00
2009-02-05 22:06:05 +00:00
2009-01-04 22:05:52 +00:00
2009-02-07 15:19:40 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-01-04 22:05:52 +00:00
2009-02-08 16:01:38 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-03-05 19:42:40 +00:00
2009-01-04 22:05:52 +00:00
2009-02-05 22:06:05 +00:00
2009-02-01 19:26:20 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-02-05 22:06:05 +00:00
2009-03-05 19:42:40 +00:00
2009-02-01 19:26:20 +00:00
2009-02-05 22:06:05 +00:00
2009-01-16 19:07:10 +00:00
2009-02-05 22:06:05 +00:00
2009-02-01 19:26:20 +00:00
2008-12-04 20:33:06 +00:00
2009-02-11 15:20:29 +00:00
2008-12-11 21:20:03 +00:00
2009-02-01 19:26:20 +00:00
2009-01-15 20:05:50 +00:00
2009-02-16 15:47:27 +00:00
2009-02-11 15:19:52 +00:00
2009-02-05 22:06:05 +00:00
2009-02-01 19:26:20 +00:00
2009-02-05 22:06:05 +00:00
2009-02-01 19:26:20 +00:00
2008-12-03 22:48:44 +00:00
2009-01-04 22:05:52 +00:00