Re: [libvirt] [PATCH] remote_daemon: Log host boot time

2019-12-19 Thread Michal Prívozník
On 12/18/19 11:07 PM, Cole Robinson wrote: > On 12/17/19 8:25 AM, Michal Privoznik wrote: >> This is not strictly needed, but it makes sure we initialize the >> @bootTime global variable. Thing is, in order to validate XATTRs >> and prune those set in some previous runs of the host, a >> timestamp

Re: [libvirt] [PATCH] remote_daemon: Log host boot time

2019-12-18 Thread Cole Robinson
On 12/17/19 8:25 AM, Michal Privoznik wrote: > This is not strictly needed, but it makes sure we initialize the > @bootTime global variable. Thing is, in order to validate XATTRs > and prune those set in some previous runs of the host, a > timestamp is recorded in XATTRs. The host boot time was

[libvirt] [PATCH] remote_daemon: Log host boot time

2019-12-17 Thread Michal Privoznik
This is not strictly needed, but it makes sure we initialize the @bootTime global variable. Thing is, in order to validate XATTRs and prune those set in some previous runs of the host, a timestamp is recorded in XATTRs. The host boot time was unique enough so it was chosen as the timestamp value.