<div dir="ltr">Thanks Ben & yes as you noted in your next message, I'm running linux guests.  :-)<div><br></div><div>While off-topic as far as NUT is concerned, for the sake of completeness and in case it may be of help to others, on RHEL/CentOS 7 there are two areas involved with guest shutdown/reboot vs suspend/resume: systemd and libvirt-guests.  On host boot, systemd-machined starts first and starts guests marked "autostart", libvirt-guests comes along later and either resumes or reboots guests that were running when the host was shut down.  </div><div><br></div><div>Regarding my guest time issue, I noticed that some of my guests were marked autostart, and were thus being brought back up by machined and it was one of these guests that wasn't waking up with a correct clock.  A manual restart of chronyd on that guest would get the time set correctly, but that's not a solution.  My theory is that machined and libvirt-guests have different guest clock initialization mechanisms, so I have now disabled autostart on all of my guests thus letting libvirt-guests handle the suspend/resume & will monitor to ensure all guests have accurate time next time a host reboots.  I also set SYNC_TIME=1 in /etc/sysconfig/libvirt-guests to cover my bases.</div><div><br></div><div>--Larry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 11, 2017 at 9:25 AM, Ben <span dir="ltr"><<a href="mailto:bkamen@benjammin.net" target="_blank">bkamen@benjammin.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/11/2017 07:00 AM, Larry Fahnoe wrote:<br>
> Hi Ben,<br>
><br>
> On RHEL/CentOS 7, libvirt-guests (which comes from libvirt-client) on the host controls the suspend vs. shutdown behavior of the guests.  By default the guests suspend, but if you want them to shutdown, change the ON_SHUTDOWN setting in /etc/sysconfig/libvirt-guests.  I don't have any Windows guests, but the linux guests work nicely with the default suspend.  That said, I have only recently begun to see an issue with one of my CentOS7 guests being resumed with incorrect time--haven't gotten to the bottom of that one yet.<br>
<br>
</span>Excellent!<br>
<br>
Thank you.<br>
<br>
As for your time issue, I  might be able to help there.<br>
<br>
As it already stands, KVM/QEMU (and linux) handles the hardware RTC time in UTC and Windows seems the like handling it in local time.<br>
<br>
When I build this Win10 VM, it always came up the timezone+/- DST off.<br>
<br>
I had to add a Windows registry setting to tell it the RTC was UTC and not Local.<br>
<br>
> Windows Registry Editor Version 5.00<br>
><br>
> [HKEY_LOCAL_MACHINE\SYSTEM\<wbr>CurrentControlSet\Control\<wbr>TimeZoneInformation]<br>
> "RealTimeIsUniversal"=dword:<wbr>00000001<br>
<br>
did you do this yet? (just wondering if it'll help if you haven't.)<br>
<br>
Cheers,<br>
<br>
  Ben<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div>Larry Fahnoe, Fahnoe Technology Consulting, fahnoe@FahnoeTech.com</div><div>           Minneapolis, Minnesota       <a href="http://www.FahnoeTech.com" target="_blank">www.FahnoeTech.com</a></div></div>
</div>