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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to