* [PATCH][RESEND] kvm-userspace: fix option_rom_setup_reset address
@ 2009-04-06 16:32 Ryan Harper
2009-04-07 1:30 ` Glauber Costa
2009-04-13 11:04 ` Avi Kivity
0 siblings, 2 replies; 3+ messages in thread
From: Ryan Harper @ 2009-04-06 16:32 UTC (permalink / raw)
To: kvm
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.
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com
diffstat output:
pc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
---
diff --git a/qemu/hw/pc.c b/qemu/hw/pc.c
index d4a4320..a649ecf 100644
--- a/qemu/hw/pc.c
+++ b/qemu/hw/pc.c
@@ -985,7 +985,7 @@ vga_bios_error:
before INT 19h. See the PNPBIOS specification, appendix B.
DDIM support is mandatory for proper PCI expansion ROM support. */
cpu_register_physical_memory(offset, size, option_rom_offset /* | IO_MEM_ROM */);
- option_rom_setup_reset(0xd0000 + offset, size);
+ option_rom_setup_reset(offset, size);
offset += size;
}
pci_option_rom_offset = offset;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH][RESEND] kvm-userspace: fix option_rom_setup_reset address
2009-04-06 16:32 [PATCH][RESEND] kvm-userspace: fix option_rom_setup_reset address Ryan Harper
@ 2009-04-07 1:30 ` Glauber Costa
2009-04-13 11:04 ` Avi Kivity
1 sibling, 0 replies; 3+ messages in thread
From: Glauber Costa @ 2009-04-07 1:30 UTC (permalink / raw)
To: Ryan Harper; +Cc: kvm
On Mon, Apr 6, 2009 at 1:32 PM, Ryan Harper <ryanh@us.ibm.com> wrote:
> 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.
>
looks good to me.
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH][RESEND] kvm-userspace: fix option_rom_setup_reset address
2009-04-06 16:32 [PATCH][RESEND] kvm-userspace: fix option_rom_setup_reset address Ryan Harper
2009-04-07 1:30 ` Glauber Costa
@ 2009-04-13 11:04 ` Avi Kivity
1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2009-04-13 11:04 UTC (permalink / raw)
To: Ryan Harper; +Cc: kvm
Ryan Harper wrote:
> 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.
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-13 11:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06 16:32 [PATCH][RESEND] kvm-userspace: fix option_rom_setup_reset address Ryan Harper
2009-04-07 1:30 ` Glauber Costa
2009-04-13 11:04 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).