|
|
5338af |
From dc14406bae91025709995342c1297d4e2c325498 Mon Sep 17 00:00:00 2001
|
|
|
5338af |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
5338af |
Date: Mon, 28 Jul 2014 12:14:11 +0200
|
|
|
5338af |
Subject: smbios: set bios vendor/version fields to Seabios/0.5.1
|
|
|
5338af |
|
|
|
5338af |
Message-id: <1406549651-26021-2-git-send-email-kraxel@redhat.com>
|
|
|
5338af |
Patchwork-id: 60264
|
|
|
5338af |
O-Subject: [RHEL-7.1 seabios PATCH 1/1] smbios: set bios vendor/version fields to Seabios/0.5.1
|
|
|
5338af |
Bugzilla: 1123299
|
|
|
5338af |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
5338af |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
5338af |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
5338af |
|
|
|
5338af |
Mimic rhel6/seabios commit 1389643dad35a63362cd7d8357693f01175ef473.
|
|
|
5338af |
Affects all 6.x and 7.0 machine types.
|
|
|
5338af |
|
|
|
5338af |
Note: 7.1+ machine types will switch over to the new-style smbios
|
|
|
5338af |
handling in qemu 2.1 + seabios 1.7.5 (and ovmf), where seabios will
|
|
|
5338af |
fill in the actual version information instead of the bogous 0.5.1
|
|
|
5338af |
which we are using here for backward compatibility reasons.
|
|
|
5338af |
|
|
|
5338af |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
5338af |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
5338af |
(cherry picked from commit bf361def4623ac1942512f255e5c1450970b5092)
|
|
|
5338af |
---
|
|
|
5338af |
src/fw/smbios.c | 4 ++--
|
|
|
5338af |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
5338af |
|
|
|
5338af |
diff --git a/src/fw/smbios.c b/src/fw/smbios.c
|
|
|
5338af |
index f3b5ad9..2770ff7 100644
|
|
|
5338af |
--- a/src/fw/smbios.c
|
|
|
5338af |
+++ b/src/fw/smbios.c
|
|
|
5338af |
@@ -174,8 +174,8 @@ smbios_init_type_0(void *start)
|
|
|
5338af |
p->header.length = sizeof(struct smbios_type_0);
|
|
|
5338af |
p->header.handle = 0;
|
|
|
5338af |
|
|
|
5338af |
- load_str_field_with_default(0, vendor_str, BUILD_APPNAME);
|
|
|
5338af |
- load_str_field_with_default(0, bios_version_str, BUILD_APPNAME);
|
|
|
5338af |
+ load_str_field_with_default(0, vendor_str, "Seabios");
|
|
|
5338af |
+ load_str_field_with_default(0, bios_version_str, "0.5.1");
|
|
|
5338af |
|
|
|
5338af |
p->bios_starting_address_segment = 0xe800;
|
|
|
5338af |
|
|
|
5338af |
--
|
|
|
5338af |
1.8.3.1
|
|
|
5338af |
|