diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
| commit | c22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch) | |
| tree | ef665e7018377f53612ac2751dcaea35a1c587b6 /hibernate.patch | |
| parent | 39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff) | |
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'hibernate.patch')
| -rw-r--r-- | hibernate.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/hibernate.patch b/hibernate.patch new file mode 100644 index 0000000..d3b1bb7 --- /dev/null +++ b/hibernate.patch @@ -0,0 +1,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. ++ */ + } + |
