From 88b530fc2f9d97df235322b24873fb4ca2903059 Mon Sep 17 00:00:00 2001 From: Victor Sun Date: Thu, 19 Apr 2018 00:04:48 +0800 Subject: [PATCH] DM Cx: build DSDT with cx data With this patch, UOS would be capable of guest Cx controling. Signed-off-by: Victor Sun Acked-by: Kevin Tian --- hw/acpi/acpi_pm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/acpi/acpi_pm.c b/hw/acpi/acpi_pm.c index 0b52ae67a..799380c56 100644 --- a/hw/acpi/acpi_pm.c +++ b/hw/acpi/acpi_pm.c @@ -363,6 +363,7 @@ void pm_write_dsdt(struct vmctx *ctx, int ncpu) dsdt_line(""); dsdt_write_pss(ctx, i); + dsdt_write_cst(ctx, i); /* hard code _PPC and _PCT for all vpu */ if (i == 0) {