Displaying 4 results from an estimated 4 matches for "sync_time".
2017 Mar 21
0
Re: libvirt-guests and time sync on autostart vms
...ry to sync guest time on domain resume. Be aware, that
# this requires guest agent with support for time synchronization
# running in the guest. For instance, qemu-ga doesn't support guest time
# synchronization on Windows guests, but Linux ones. By default, this
# functionality is turned off.
#SYNC_TIME=1
>From the comment contents it seems the default is actually 0, so if you
have not already done it, you can put
SYNC_TIME=1
This I think requires also to install inside the guest the qemu-guest-agent
package and enabling qemu-guest-agent service.
HIH,
Gianluca
2017 Mar 21
2
Re: libvirt-guests and time sync on autostart vms
On Mon, Mar 20, 2017 at 9:58 PM, Timo Juhani Lindfors
<timo.lindfors@iki.fi> wrote:
> ıuoʎ <yonjah@gmail.com> writes:
>> I have a host running a few guests all configured to autostart.
>> I'm also using libvirt-guests to suspend the guests when the host
>> restarts or shuts down
>
> I have a similar setup. I solved it by writing a small daemon that syncs
2017 Mar 20
2
libvirt-guests and time sync on autostart vms
...ges -
Resuming guest vm01 already active
Resuming guest vm02 already active
I guess this is because libvirt autostarts the guests when it starts
and before libvirt-guests has a chance
to start them.
I didn't think this is an issue until I noticed the time on the guests
is totally out of sync.
SYNC_TIME=1 is enabled in the conf file but this doesn't seem to work
I can see from the code at libvirt-guests.sh that the time sync
function will only run if the guest is started by libvirt-guests ans
will be skipped for guests that are already running
So I'm not sure if this is a bug in libvirt-g...
2017 Jun 11
1
Best way to shut down RH KVM/QEMU based VMs via NUT
On 06/11/2017 07:00 AM, Larry Fahnoe wrote:
> Hi Ben,
>
> 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