reset state for load_linux
authorGlauber Costa <glommer@redhat.com>
Fri, 8 May 2009 05:22:13 +0000 (02:22 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 20:24:10 +0000 (15:24 -0500)
commitd6ecb03610dba922cbfde42acb41603e2c658047
tree9a8df52da6e5bd815349f08a68d6a6063d900134
parente28f988427c3a27cf42ef2229f12f0a7e67cb00c
reset state for load_linux

The linux loader is just an option rom like any other, just with
some special requirements. Right now, our option rom resetting
mechanism is not being applied to it. As a result, users using
-kernel will not be able to successfully reboot their machines

This patch fixes it by saving all the data we generated in
the load_linux() function, to be used later by the option rom
resetting mechanism.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c