|
|
218e99 |
From 235601c37ce0dd3c42906d29b20c4f32b15a1b4f Mon Sep 17 00:00:00 2001
|
|
|
218e99 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
218e99 |
Date: Tue, 20 Aug 2013 15:09:46 +0200
|
|
|
218e99 |
Subject: [PATCH 18/28] pc: set level/xlevel correctly on 486/qemu32 CPU models for rhel6.x
|
|
|
218e99 |
|
|
|
218e99 |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
218e99 |
Message-id: <1377011392-9336-2-git-send-email-ehabkost@redhat.com>
|
|
|
218e99 |
Patchwork-id: 53609
|
|
|
218e99 |
O-Subject: [RHEL7 PATCH 1/7] pc: set level/xlevel correctly on 486/qemu32 CPU models for rhel6.x
|
|
|
218e99 |
Bugzilla: 918907
|
|
|
218e99 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
218e99 |
RH-Acked-by: Bandan Das <bsd@redhat.com>
|
|
|
218e99 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
218e99 |
|
|
|
218e99 |
Bugzilla: 918907
|
|
|
218e99 |
Upstream status: not applicable
|
|
|
218e99 |
(Upstream have the new xlevel on all machine-types since v0.13)
|
|
|
218e99 |
|
|
|
218e99 |
Upstream commit 58012d66dc7323f48e9bad3be6d65a50ed3d76bc changed xlevel
|
|
|
218e99 |
on the "qemu32" CPU model and level on "486", but we need to keep a
|
|
|
218e99 |
compatible value on the rhel6.x machine-types.
|
|
|
218e99 |
|
|
|
218e99 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
218e99 |
---
|
|
|
218e99 |
hw/i386/pc_piix.c | 8 ++++++++
|
|
|
218e99 |
1 file changed, 8 insertions(+)
|
|
|
218e99 |
|
|
|
218e99 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
218e99 |
---
|
|
|
218e99 |
hw/i386/pc_piix.c | 8 ++++++++
|
|
|
218e99 |
1 files changed, 8 insertions(+), 0 deletions(-)
|
|
|
218e99 |
|
|
|
218e99 |
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
|
|
|
218e99 |
index 0f63290..0dc52c4 100644
|
|
|
218e99 |
--- a/hw/i386/pc_piix.c
|
|
|
218e99 |
+++ b/hw/i386/pc_piix.c
|
|
|
218e99 |
@@ -852,6 +852,14 @@ static QEMUMachine pc_machine_rhel700 = {
|
|
|
218e99 |
.driver = "AC97",\
|
|
|
218e99 |
.property = "use_broken_id",\
|
|
|
218e99 |
.value = stringify(1),\
|
|
|
218e99 |
+ },{\
|
|
|
218e99 |
+ .driver = "qemu32-" TYPE_X86_CPU,\
|
|
|
218e99 |
+ .property = "xlevel",\
|
|
|
218e99 |
+ .value = stringify(0),\
|
|
|
218e99 |
+ },{\
|
|
|
218e99 |
+ .driver = "486-" TYPE_X86_CPU,\
|
|
|
218e99 |
+ .property = "level",\
|
|
|
218e99 |
+ .value = stringify(0),\
|
|
|
218e99 |
}
|
|
|
218e99 |
|
|
|
218e99 |
static void pc_init_rhel650(QEMUMachineInitArgs *args)
|
|
|
218e99 |
--
|
|
|
218e99 |
1.7.1
|
|
|
218e99 |
|