qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 0/8] arm AioContext with its own timer stuff


From: Jan Kiszka
Subject: Re: [Qemu-devel] [RFC 0/8] arm AioContext with its own timer stuff
Date: Thu, 25 Jul 2013 15:06:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]