-
Notifications
You must be signed in to change notification settings - Fork 2
/
seabios-do-not-advertise-hpet-to-a-guest-OS.patch
52 lines (43 loc) · 1.57 KB
/
seabios-do-not-advertise-hpet-to-a-guest-OS.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From 33807c623da20a31846739bd6434c4c20a6c812c Mon Sep 17 00:00:00 2001
From: Gleb Natapov <[email protected]>
Date: Tue, 15 Jun 2010 08:11:28 -0300
Subject: [PATCH] do not advertise hpet to a guest OS.
RH-Author: Gleb Natapov <[email protected]>
Message-id: <[email protected]>
Patchwork-id: 9915
O-Subject: [PATCH SEABIOSv2 RHEL6] do not advertise hpet to a guest OS.
Bugzilla: 602177
RH-Acked-by: Markus Armbruster <[email protected]>
RH-Acked-by: Jes Sorensen <[email protected]>
RH-Acked-by: Juan Quintela <[email protected]>
RH-Acked-by: Amit Shah <[email protected]>
Since we disabled hpet in qemu we must not advertise hpet to a guest OS.
BZ: 602177
Upstream status: the patch is not suitable for upstream since hpet may
be enabled there. In upstream we should create HPET ACPI
table only when hpet is enabled in qemu. Working on the
fix.
Signed-off-by: Gleb Natapov <[email protected]>
---
v1->v2:
- do not remove code to generate HPET tables, only call to the
function.
--
Gleb.
Signed-off-by: Eduardo Habkost <[email protected]>
---
src/acpi.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/acpi.c b/src/acpi.c
index 244536a..1962632 100644
--- a/src/acpi.c
+++ b/src/acpi.c
@@ -635,7 +635,6 @@ acpi_bios_init(void)
ACPI_INIT_TABLE(build_fadt(bdf));
ACPI_INIT_TABLE(build_ssdt());
ACPI_INIT_TABLE(build_madt());
- ACPI_INIT_TABLE(build_hpet());
ACPI_INIT_TABLE(build_srat());
u16 i, external_tables = qemu_cfg_acpi_additional_tables();
--
1.7.0.3