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