svn commit: r363240 - stable/12/usr.sbin/bhyve
Peter Grehan
grehan at FreeBSD.org
Thu Jul 16 03:05:10 UTC 2020
Author: grehan
Date: Thu Jul 16 03:05:10 2020
New Revision: 363240
URL: https://svnweb.freebsd.org/changeset/base/363240
Log:
MFC r362952
Silence ACPI RTC error/warning in Linux guests.
Modified:
stable/12/usr.sbin/bhyve/pm.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.sbin/bhyve/pm.c
==============================================================================
--- stable/12/usr.sbin/bhyve/pm.c Thu Jul 16 02:53:13 2020 (r363239)
+++ stable/12/usr.sbin/bhyve/pm.c Thu Jul 16 03:05:10 2020 (r363240)
@@ -191,7 +191,7 @@ pm1_enable_handler(struct vmctx *ctx, int vcpu, int in
* the global lock, but ACPI-CA whines profusely if it
* can't set GBL_EN.
*/
- pm1_enable = *eax & (PM1_PWRBTN_EN | PM1_GBL_EN);
+ pm1_enable = *eax & (PM1_RTC_EN | PM1_PWRBTN_EN | PM1_GBL_EN);
sci_update(ctx);
}
pthread_mutex_unlock(&pm_lock);
More information about the svn-src-stable
mailing list