summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_piix.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2013-08-21 15:14:44 -0300
committerMichael S. Tsirkin <mst@redhat.com>2013-08-21 23:30:22 +0300
commit396f79f45ea75bd1c421522f29b4f91d490df7cc (patch)
tree199a4d0388da61d5e208274c1e9bf4d2cf90ce62 /hw/i386/pc_piix.c
parent89b439f3136644b07c2e25bb4ceeb9466ae23fe5 (diff)
downloadhqemu-396f79f45ea75bd1c421522f29b4f91d490df7cc.zip
hqemu-396f79f45ea75bd1c421522f29b4f91d490df7cc.tar.gz
pc: pc_compat_1_4() now can call pc_compat_1_5()
It just needs to set has_pvpanic=false after calling it. This way, it won't be a special case anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index a5e5bec..d3d4893 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -250,8 +250,8 @@ static void pc_compat_1_5(QEMUMachineInitArgs *args)
static void pc_compat_1_4(QEMUMachineInitArgs *args)
{
- /* 1.5 was special - it enabled pvpanic in builtin machine */
- pc_compat_1_6(args);
+ pc_compat_1_5(args);
+ has_pvpanic = false;
x86_cpu_compat_set_features("n270", FEAT_1_ECX, 0, CPUID_EXT_MOVBE);
x86_cpu_compat_set_features("Westmere", FEAT_1_ECX, 0, CPUID_EXT_PCLMULQDQ);
}
OpenPOWER on IntegriCloud