On 2013-07-25 15:02, Paolo Bonzini wrote: > Il 25/07/2013 14:48, Jan Kiszka ha scritto: >> The concept of clocks (with start/stop property) and active timers shall >> not be mixed, they are independent. > > Are you referring to this in particular: > > void pause_all_vcpus(void) > { > CPUState *cpu = first_cpu; > > qemu_clock_enable(vm_clock, false); > ... > } > > void resume_all_vcpus(void) > { > CPUState *cpu = first_cpu; > > qemu_clock_enable(vm_clock, true); > ... > } > > where _all_ the vm_clock timer lists need to be stopped at the same time?
Still wrong abstraction: the vm_clock is stopped. And that implies that no timer using this clock will fire anymore. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux