aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-10-26 13:42:30 +0200
committerAvi Kivity <avi@redhat.com>2009-10-26 14:53:14 +0200
commit4f31160d7476a116714b6381d7c5145769b568a5 (patch)
tree489262207fb1f0fc027ec8f3032e9541ab6fb4ce /hw/pc.c
parentupstream kvm_arch_post_run lacks cpu_single_env assignment (diff)
downloadqemu-kvm-4f31160d7476a116714b6381d7c5145769b568a5.tar.gz
qemu-kvm-4f31160d7476a116714b6381d7c5145769b568a5.tar.bz2
qemu-kvm-4f31160d7476a116714b6381d7c5145769b568a5.zip
Make vapic.S into optional rom
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 83012a9b1..819b78ab3 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -53,6 +53,7 @@
#define VGABIOS_FILENAME "vgabios.bin"
#define VGABIOS_CIRRUS_FILENAME "vgabios-cirrus.bin"
#define EXTBOOT_FILENAME "extboot.bin"
+#define VAPIC_FILENAME "vapic.bin"
#define PC_MAX_BIOS_SIZE (4 * 1024 * 1024)
@@ -1149,6 +1150,7 @@ static void pc_init1(ram_addr_t ram_size,
if (extboot_drive) {
option_rom[nb_option_roms++] = qemu_strdup(EXTBOOT_FILENAME);
}
+ option_rom[nb_option_roms++] = qemu_strdup(VAPIC_FILENAME);
option_rom_offset = qemu_ram_alloc(PC_ROM_SIZE);
cpu_register_physical_memory(PC_ROM_MIN_VGA, PC_ROM_SIZE, option_rom_offset);