Displaying 3 results from an estimated 3 matches for "on_resum".
Did you mean:
on_resume
2014 Oct 02
1
Re: time setting after suspend/resume
...n on automatic
>> time-set after resume?
>>
>
> Oh, sorry, my fault. I was under the impression that Michal created
> the API especially for this purpose, but looking at the code it's not
> done automatically.
At one point, I seem to recall a proposal of adding an <on_resume> tag
to domain xml that could explicitly request time resync each time the
domain is resumed; but I don't know if anyone implemented it yet.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...timers[i];
+ break;
+ }
+
+ i++;
+ }
+
+ if (!cur_timer)
+ panic("Failed to find a usable platform timer source!!!\n");
}
@@ -725,6 +805,7 @@ void do_settime(unsigned long secs, unsi
rcu_read_unlock(&domlist_read_lock);
}
+static int on_resume;
static void local_time_calibration(void *unused)
{
struct cpu_time *t = &this_cpu(cpu_time);
@@ -872,7 +953,8 @@ void init_percpu_time(void)
local_irq_save(flags);
rdtscll(t->local_tsc_stamp);
- now = (smp_processor_id() == 0) ? 0 : read_platform_stime();
+ now = (...
2014 Sep 29
2
Re: time setting after suspend/resume
On 09/29/2014 02:28 AM, Martin Kletzander wrote:
> On Fri, Sep 26, 2014 at 08:16:25AM +0800, Bill Kenworthy wrote:
>> Hi,
>> I am using libvirt with qemu/kvm with qemu-guest-agent and
>> suspend/save/resume linux and windows vm's. Time in Windows gets
>> handled fine with ntp but I can get neither ntp or chrony to sync after
>> resume without manually