Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3160499aacb81f6735941eb4c372d87a > files > 93

kvm-83-164.el5_5.30.src.rpm

From 5e0ad15bb09fe102cb7d85e52ef6424765f49cbc Mon Sep 17 00:00:00 2001
From: Juan Quintela <quintela@redhat.com>
Date: Tue, 21 Jul 2009 09:45:41 +0200
Subject: [PATCH 3/3] Disable hpet by default (there is no way to enable it back)

Hi

By popular demand (a.k.a. Eduardo and Dor), this is the 3rd version of
this patch.  Instead of compiling out hpet, we just change no_hpet value
and as there is no way to change it back to 0, we know there is no hpet
support at all.

It supports Eduardo requirement that -no-hpet command option continues to be
accepted (it does nothing).

Later, Juan.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <5fcc6e926424f3d313d3a10fc6b71d92061b034a.1248162151.git.quintela@redhat.com>
Obsoletes: <2a8181609ab3a4aad27335f1787f585e84849c90.1248129474.git.quintela@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Bugzilla: 512894
Obsoletes: <1248125240-27634-1-git-send-email-quintela@redhat.com>
Acked-by: "Daniel P. Berrange" <berrange@redhat.com>
Acked-by: Chris Wright <chrisw@redhat.com>
Acked-by: Glauber Costa <glommer@redhat.com>
---
 qemu/vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/vl.c b/qemu/vl.c
index 69d7586..f24c916 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -234,7 +234,7 @@ int assigned_devices_index;
 int smp_cpus = 1;
 const char *vnc_display;
 int acpi_enabled = 1;
-int no_hpet = 0;
+int no_hpet = 1;
 int virtio_balloon = 1;
 int fd_bootchk = 1;
 int no_reboot = 0;
-- 
1.6.3.rc4.29.g8146