Blame SOURCES/ga-rhel-Use-SMBIOS-legacy-mode-for-machine-types-7.0.patch

d81766
From c5e6a9da50c82ea44f14eb37a09f03e0a585e38e Mon Sep 17 00:00:00 2001
d81766
From: Markus Armbruster <armbru@redhat.com>
d81766
Date: Mon, 11 Aug 2014 07:54:37 +0200
d81766
Subject: [PATCH 03/24] rhel: Use SMBIOS legacy mode for machine types <=7.0
d81766
d81766
Message-id: <1407743689-13553-4-git-send-email-armbru@redhat.com>
d81766
Patchwork-id: 60514
d81766
O-Subject: [PATCH RHEV-7.1 qemu-kvm-rhev 03/15] rhel: Use SMBIOS legacy mode for machine types <=7.0
d81766
Bugzilla: 1118665
d81766
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
d81766
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
d81766
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
d81766
d81766
Update the RHEL machine types for upstream commit c97294e.
d81766
d81766
Signed-off-by: Markus Armbruster <armbru@redhat.com>
d81766
---
d81766
 hw/i386/pc_piix.c | 2 ++
d81766
 hw/i386/pc_q35.c  | 2 ++
d81766
 2 files changed, 4 insertions(+)
d81766
d81766
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
d81766
---
d81766
 hw/i386/pc_piix.c |    2 ++
d81766
 hw/i386/pc_q35.c  |    2 ++
d81766
 2 files changed, 4 insertions(+), 0 deletions(-)
d81766
d81766
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
d81766
index 519c9cd..e23fb7f 100644
d81766
--- a/hw/i386/pc_piix.c
d81766
+++ b/hw/i386/pc_piix.c
d81766
@@ -953,6 +953,8 @@ static void pc_compat_rhel700(MachineState *machine)
d81766
                                 CPUID_EXT2_RDTSCP);
d81766
     x86_cpu_compat_set_features("Opteron_G5", FEAT_8000_0001_EDX, 0,
d81766
                                 CPUID_EXT2_RDTSCP);
d81766
+
d81766
+    smbios_legacy_mode = true;
d81766
 }
d81766
 
d81766
 /*
d81766
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
d81766
index a72654d..e433cb6 100644
d81766
--- a/hw/i386/pc_q35.c
d81766
+++ b/hw/i386/pc_q35.c
d81766
@@ -461,6 +461,8 @@ static void pc_q35_compat_rhel700(MachineState *machine)
d81766
                                 CPUID_EXT2_RDTSCP);
d81766
     x86_cpu_compat_set_features("Opteron_G5", FEAT_8000_0001_EDX, 0,
d81766
                                 CPUID_EXT2_RDTSCP);
d81766
+
d81766
+    smbios_legacy_mode = true;
d81766
 }
d81766
 
d81766
 static void pc_q35_init_rhel700(MachineState *machine)
d81766
-- 
d81766
1.7.1
d81766