Files
qemu/hw
Markus Armbruster 6394bd0e05 pc: Fix CMOS info for drives defined with -device
Drives defined with -drive if=ide get get created along with the IDE
controller, inside machine->init().  That's before cmos_init().
Drives defined with -device get created during generic device init.
That's after cmos_init().  Because of that, CMOS has no information on
them (type, geometry, translation).  Older versions of Windows such as
XP reportedly choke on that.

Split off the part of CMOS initialization that needs to know about
-device devices, and turn it into a reset handler, so it runs after
device creation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit c0897e0cb9)
2010-08-16 19:42:40 +02:00
..
2009-11-19 16:45:21 +00:00
2009-12-02 08:57:42 -06:00
2009-10-01 16:12:16 -05:00
2009-11-19 16:45:21 +00:00
2009-11-19 16:45:21 +00:00
2009-11-19 16:45:21 +00:00
2009-11-13 04:04:18 +00:00
2010-05-27 15:52:57 +02:00
2009-11-19 16:45:21 +00:00
2009-10-07 08:54:54 -05:00
2009-12-02 08:57:42 -06:00
2009-11-22 21:27:40 +00:00
2009-11-22 21:27:40 +00:00
2009-12-19 08:26:21 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-02 08:57:42 -06:00
2009-10-01 16:12:16 -05:00
2009-11-09 08:43:03 -06:00
2009-10-27 12:28:41 -05:00
2009-11-16 17:06:43 +00:00
2009-10-01 16:12:16 -05:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-12-03 15:26:01 -06:00
2009-12-04 20:44:44 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-09 08:43:03 -06:00
2009-12-03 09:41:36 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:32 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-12 09:42:31 -05:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:49 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-19 08:26:25 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-10 19:48:00 +04:00
2009-12-02 17:26:19 +01:00
2009-10-05 09:32:39 -05:00
2009-09-11 11:10:06 -05:00
2009-10-07 08:54:54 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:32 -06:00
2010-01-12 14:48:19 -06:00
2010-01-12 14:48:19 -06:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:32 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-09 08:43:03 -06:00
2009-11-14 01:11:27 +01:00
2009-11-15 23:04:20 +01:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:33 -06:00
2009-11-19 16:45:21 +00:00
2009-12-07 16:36:48 -06:00
2009-09-11 10:19:48 -05:00
2009-09-11 10:19:48 -05:00
2009-10-01 16:12:16 -05:00
2009-12-02 08:57:42 -06:00
2009-12-04 20:44:44 +00:00
2009-12-04 20:44:44 +00:00
2009-12-03 09:41:31 -06:00
2009-12-02 08:57:42 -06:00
2009-10-01 16:12:16 -05:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-05-18 13:27:46 +02:00
2010-01-12 14:48:27 -06:00
2009-12-04 20:44:44 +00:00
2009-12-03 09:41:31 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-13 04:04:18 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:38 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-12 08:17:29 -06:00
2009-12-12 08:17:29 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-04 20:44:44 +00:00
2009-12-05 17:36:05 +01:00
2009-12-18 16:39:40 +01:00
2009-12-03 09:41:40 -06:00
2009-12-03 09:41:40 -06:00
2010-04-09 18:41:59 +02:00
2009-12-03 09:41:38 -06:00
2009-11-03 15:28:19 +01:00
2009-10-01 16:12:16 -05:00
2010-04-09 18:21:35 +02:00
2009-10-01 16:12:16 -05:00
2010-04-14 00:54:38 +02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 14:58:02 +00:00
2009-12-03 09:41:33 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-07 08:54:54 -05:00
2009-11-09 08:43:03 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-07 08:54:54 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-04 20:44:44 +00:00
2010-06-09 12:45:03 +02:00
2010-06-09 12:44:56 +02:00
2010-06-09 12:44:56 +02:00
2010-06-09 12:44:56 +02:00
2010-04-06 07:02:37 +02:00
2009-12-19 08:26:22 -06:00
2009-10-27 12:28:55 -05:00
2009-10-01 16:12:16 -05:00
2010-05-27 13:58:42 +02:00
2010-01-12 13:30:08 -06:00
2009-12-12 08:17:28 -06:00
2009-12-12 08:17:28 -06:00
2009-09-12 07:36:22 +00:00
2009-09-20 08:02:28 +00:00
2009-12-02 08:57:43 -06:00
2009-11-09 08:43:02 -06:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:34 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00