|
|
9ae3a8 |
From 6a547c27c5d359af376fdb277ea05eea0d76e870 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
Date: Fri, 30 Aug 2013 08:51:25 +0200
|
|
|
9ae3a8 |
Subject: [PATCH 06/29] Remove no-hpet option
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
Message-id: <9d2bbee5227f35ee23da66a8689a9cd0faf545f1.1377851454.git.mrezanin@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 53936
|
|
|
9ae3a8 |
O-Subject: [RHEL7 qemu-kvm PATCHv2 5/6] Remove no-hpet option
|
|
|
9ae3a8 |
Bugzilla: 947441
|
|
|
9ae3a8 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Michal Novotny <minovotn@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Bugzilla: 947441
|
|
|
9ae3a8 |
Upstream: n/a, RHEL only
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
We disable HPET for RHEL, this patch removes option no-hpet that is
|
|
|
9ae3a8 |
not usable.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Patch is forwardport of RHEL6 patch 1c07ac51 with small difference in
|
|
|
9ae3a8 |
qemu-options.hx STEXI part of no-hpet is removed to keep man page
|
|
|
9ae3a8 |
updated.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
v2:
|
|
|
9ae3a8 |
- Remove only STEXI part
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
qemu-options.hx | 7 ++-----
|
|
|
9ae3a8 |
vl.c | 4 +++-
|
|
|
9ae3a8 |
2 files changed, 5 insertions(+), 6 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
qemu-options.hx | 7 ++-----
|
|
|
9ae3a8 |
vl.c | 4 +++-
|
|
|
9ae3a8 |
2 files changed, 5 insertions(+), 6 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/qemu-options.hx b/qemu-options.hx
|
|
|
9ae3a8 |
index 2ad0ed2..202a2cf 100644
|
|
|
9ae3a8 |
--- a/qemu-options.hx
|
|
|
9ae3a8 |
+++ b/qemu-options.hx
|
|
|
9ae3a8 |
@@ -1283,13 +1283,10 @@ it if your guest OS complains about ACPI problems (PC target machine
|
|
|
9ae3a8 |
only).
|
|
|
9ae3a8 |
ETEXI
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
9ae3a8 |
DEF("no-hpet", 0, QEMU_OPTION_no_hpet,
|
|
|
9ae3a8 |
"-no-hpet disable HPET\n", QEMU_ARCH_I386)
|
|
|
9ae3a8 |
-STEXI
|
|
|
9ae3a8 |
-@item -no-hpet
|
|
|
9ae3a8 |
-@findex -no-hpet
|
|
|
9ae3a8 |
-Disable HPET support.
|
|
|
9ae3a8 |
-ETEXI
|
|
|
9ae3a8 |
+#endif
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
DEF("acpitable", HAS_ARG, QEMU_OPTION_acpitable,
|
|
|
9ae3a8 |
"-acpitable [sig=str][,rev=n][,oem_id=str][,oem_table_id=str][,oem_rev=n][,asl_compiler_id=str][,asl_compiler_rev=n][,{data|file}=file1[:file2]...]\n"
|
|
|
9ae3a8 |
diff --git a/vl.c b/vl.c
|
|
|
9ae3a8 |
index f7b326a..24536b5 100644
|
|
|
9ae3a8 |
--- a/vl.c
|
|
|
9ae3a8 |
+++ b/vl.c
|
|
|
9ae3a8 |
@@ -217,7 +217,7 @@ int smp_threads = 1;
|
|
|
9ae3a8 |
const char *vnc_display;
|
|
|
9ae3a8 |
#endif
|
|
|
9ae3a8 |
int acpi_enabled = 1;
|
|
|
9ae3a8 |
-int no_hpet = 0;
|
|
|
9ae3a8 |
+int no_hpet = 1; /* Always disabled for Red Hat Enterprise Linux */
|
|
|
9ae3a8 |
int fd_bootchk = 1;
|
|
|
9ae3a8 |
static int no_reboot;
|
|
|
9ae3a8 |
int no_shutdown = 0;
|
|
|
9ae3a8 |
@@ -3682,9 +3682,11 @@ int main(int argc, char **argv, char **envp)
|
|
|
9ae3a8 |
case QEMU_OPTION_no_acpi:
|
|
|
9ae3a8 |
acpi_enabled = 0;
|
|
|
9ae3a8 |
break;
|
|
|
9ae3a8 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
9ae3a8 |
case QEMU_OPTION_no_hpet:
|
|
|
9ae3a8 |
no_hpet = 1;
|
|
|
9ae3a8 |
break;
|
|
|
9ae3a8 |
+#endif
|
|
|
9ae3a8 |
case QEMU_OPTION_balloon:
|
|
|
9ae3a8 |
if (balloon_parse(optarg) < 0) {
|
|
|
9ae3a8 |
fprintf(stderr, "Unknown -balloon argument %s\n", optarg);
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|