diff mbox

qemu-kvm: Restore VAPIC option ROM installation

Message ID 4E8EA428.9020509@siemens.com
State New
Headers show

Commit Message

Jan Kiszka Oct. 7, 2011, 7:03 a.m. UTC
Still needed but was accidentally removed by 8bc62bc6be.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

As the guilty patch is only in next so far, you may also fold this one
in.

 hw/pc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Comments

Jan Kiszka Oct. 7, 2011, 7:18 a.m. UTC | #1
On 2011-10-07 09:03, Jan Kiszka wrote:
> Still needed but was accidentally removed by 8bc62bc6be.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> As the guilty patch is only in next so far, you may also fold this one
> in.
> 
>  hw/pc.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/pc.c b/hw/pc.c
> index a616029..70e0d08 100644
> --- a/hw/pc.c
> +++ b/hw/pc.c
> @@ -1049,6 +1049,10 @@ void pc_memory_init(MemoryRegion *system_memory,
>                                  (uint32_t)(-bios_size),
>                                  bios);
>  
> +    option_rom[nb_option_roms].name = g_strdup(VAPIC_FILENAME);
> +    option_rom[nb_option_roms].bootindex = -1;
> +    nb_option_roms++;
> +
>      fw_cfg = bochs_bios_init();
>      rom_set_fw(fw_cfg);
>  

Oops. This obviously belongs on the kvm list.

Jan
diff mbox

Patch

diff --git a/hw/pc.c b/hw/pc.c
index a616029..70e0d08 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1049,6 +1049,10 @@  void pc_memory_init(MemoryRegion *system_memory,
                                 (uint32_t)(-bios_size),
                                 bios);
 
+    option_rom[nb_option_roms].name = g_strdup(VAPIC_FILENAME);
+    option_rom[nb_option_roms].bootindex = -1;
+    nb_option_roms++;
+
     fw_cfg = bochs_bios_init();
     rom_set_fw(fw_cfg);