David Gibson a3467baa88 Delay creation of pseries device tree until reset
At present, the 'pseries' machine creates a flattened device tree in the
machine->init function to pass to either the guest kernel or to firmware.

However, the machine->init function runs before processing of -device
command line options, which means that the device tree so created will
be (incorrectly) missing devices specified that way.

Supplying a correct device tree is, in any case, part of the required
platform entry conditions.  Therefore, this patch moves the creation and
loading of the device tree from machine->init to a reset callback.  The
setup of entry point address and initial register state moves with it,
which leads to a slight cleanup.

This is not, alas, quite enough to make a fully working reset for pseries.
For that we would need to reload the firmware images, which on this
machine are loaded into RAM.  It's a step in the right direction, though.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-04-08 11:32:21 +02:00
2011-04-03 21:42:57 +02:00
2011-04-01 19:07:49 -05:00
2011-04-01 19:07:49 -05:00
2010-12-09 14:23:24 +01:00
2011-03-07 15:34:17 +00:00
2011-04-03 21:42:57 +02:00
2011-04-04 00:34:10 +02:00
2011-02-24 11:25:38 -06:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:36 +01:00
2010-04-09 18:55:56 +02:00
2011-02-07 12:51:19 +01:00
2011-01-10 10:55:10 +01:00
2010-11-01 00:54:06 +03:00
2011-02-20 18:45:09 +01:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2011-01-20 20:58:56 +00:00
2011-02-25 20:16:26 +00:00
2010-10-20 16:15:04 -05:00
2011-04-07 10:50:26 +02:00
2011-03-22 08:39:12 -05:00
2011-03-15 01:19:06 -03:00
2011-03-16 17:11:07 -03:00
2010-05-24 15:18:23 -05:00
2011-04-04 00:34:11 +02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2011-03-07 13:42:36 +01:00
2009-09-12 07:36:22 +00:00
2011-02-10 18:17:43 +01:00
2011-01-20 20:54:21 +00:00
2010-03-29 19:24:00 +00:00
2009-12-17 18:12:04 +01:00
2010-05-22 08:02:12 +00:00
2009-10-01 16:12:16 -05:00
2011-03-06 21:01:32 +01:00
2010-11-21 09:16:57 -06:00
2010-11-21 09:16:57 -06:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-06-11 15:25:14 -03:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2011-04-04 10:26:54 +02:00
2011-04-01 19:07:48 -05:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-01-08 09:58:40 -06:00
2009-09-12 07:36:22 +00:00
2010-12-09 14:23:24 +01:00
2011-03-16 17:11:07 -03:00
2010-10-30 08:02:40 +00:00
2011-02-09 10:33:54 +02:00
2011-03-07 13:42:36 +01:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:39 -06:00
2010-07-01 14:27:13 -03:00
2010-07-01 14:27:13 -03:00
2009-10-27 12:28:59 -05:00
2011-01-24 15:41:40 +01:00
2010-09-21 18:36:42 +02:00
2011-01-31 10:03:00 +01:00
2010-05-19 12:45:54 -03:00
2011-01-09 20:59:53 +00:00
2011-03-13 14:44:22 +00:00
2011-03-21 09:23:23 +01:00
2011-03-21 09:23:23 +01:00
2011-03-22 08:39:12 -05:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:38 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-10-01 10:12:43 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-09-18 05:53:14 +00:00
2011-01-20 20:54:21 +00:00
2011-03-21 17:41:52 -05:00
2009-09-13 19:38:43 +00:00
2011-01-24 15:41:40 +01:00
2010-03-14 22:04:50 +01:00
2011-04-07 13:51:47 +02:00
2009-10-01 16:12:16 -05:00
2011-04-03 21:42:57 +02:00
2011-02-02 08:39:28 +01:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%