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