reset state for load_linux
commit2da1e398641d9fccf683645c808dee0d088f84cf
authorGlauber Costa <glommer@redhat.com>
Fri, 8 May 2009 05:22:13 +0000 (8 02:22 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 20:57:20 +0000 (8 15:57 -0500)
treea52ae45b10a978c38f449eb44fe3974026d84eea
parentb468f27acd45de96026f69397e2a38fcd831a718
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