summaryrefslogtreecommitdiff
path: root/hibernate.patch
blob: d3b1bb77961609f4f7e57dbb01c005726912e1de (plain)
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
Index: xen-4.8.0-testing/tools/libacpi/ssdt_s3.asl
===================================================================
--- xen-4.8.0-testing.orig/tools/libacpi/ssdt_s3.asl
+++ xen-4.8.0-testing/tools/libacpi/ssdt_s3.asl
@@ -16,13 +16,9 @@
 
 DefinitionBlock ("SSDT_S3.aml", "SSDT", 2, "Xen", "HVM", 0)
 {
-    /* Must match piix emulation */
-    Name (\_S3, Package (0x04)
-    {
-        0x01,  /* PM1a_CNT.SLP_TYP */
-        0x01,  /* PM1b_CNT.SLP_TYP */
-        0x0,   /* reserved */
-        0x0    /* reserved */
-    })
+    /*
+     * Turn off support for s3 sleep state to deal with SVVP tests.
+     * This is what MSFT does on HyperV.
+     */
 }
 
Index: xen-4.8.0-testing/tools/libacpi/ssdt_s4.asl
===================================================================
--- xen-4.8.0-testing.orig/tools/libacpi/ssdt_s4.asl
+++ xen-4.8.0-testing/tools/libacpi/ssdt_s4.asl
@@ -16,13 +16,9 @@
 
 DefinitionBlock ("SSDT_S4.aml", "SSDT", 2, "Xen", "HVM", 0)
 {
-    /* Must match piix emulation */
-    Name (\_S4, Package (0x04)
-    {
-        0x00,  /* PM1a_CNT.SLP_TYP */
-        0x00,  /* PM1b_CNT.SLP_TYP */
-        0x00,  /* reserved */
-        0x00   /* reserved */
-    })
+    /*
+     * Turn off support for s4 sleep state to deal with SVVP tests.
+     * This is what MSFT does on HyperV.
+     */
 }