]> git.ipfire.org Git - thirdparty/qemu.git/commit
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>
Wed, 13 May 2009 13:08:09 +0000 (08:08 -0500)
commited16937820da0b99afe20c5a1361808ea4161173
treeb2a5e94d46c1e78a8f41be1973609b3fa2819174
parentfaf8a63492cd98f00f7daff001e0d27b27038bec
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.

This also includes Mark's fix for -kernel

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