kvm: qemu: fix option_rom_setup_reset address
commita1075de527f309850df278484f2ef4127827c6f4
authorRyan Harper <ryanh@us.ibm.com>
Mon, 6 Apr 2009 16:32:48 +0000 (6 11:32 -0500)
committerAvi Kivity <avi@redhat.com>
Mon, 13 Apr 2009 11:04:03 +0000 (13 14:04 +0300)
tree22ca41599e08e0f2c56f4d27bd76b3178f994de8
parent84f258976066626789b2d245609e0bc89b19c59c
kvm: qemu: fix option_rom_setup_reset address

Commit f2b690ba461971fb8b04354de8717a73fd08b945 changed the target
address for option roms, but failed to use the same address when
registering an option rom reset.  This manifests itself when using
extboot (boot=on) and reseting a guest via reboot or system_reset on
monitor and the guest fails to boot.  This patch register the correct
region for each option rom.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu/hw/pc.c