Re: [Qemu-devel] QEMU device timer

2011-09-24 Thread 陳韋任
I am new to QEMU. I saw most devices in QEMU has a timer associated with it. ^^ For example? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan

Re: [Qemu-devel] QEMU device timer

2011-09-24 Thread Xin Tong
In rtl8139.c There is a /* PCI interrupt timer */ QEMUTimer *timer; Xin On Sat, Sep 24, 2011 at 7:58 AM, 陳韋任 che...@iis.sinica.edu.tw wrote: I am new to QEMU. I saw most devices in QEMU has a timer associated with it. ^^ For example? Regards, chenwj

Re: [Qemu-devel] QEMU device timer

2011-09-24 Thread 陳韋任
In rtl8139.c There is a /* PCI interrupt timer */ QEMUTimer *timer; QEMUTimer is a virtual timer (might use various virtual clocks) used by hw or something else. In thise case, when the timer is time out, rtl8139 will generate a interrupt. Regards, chenwj -- Wei-Ren Chen (陳韋任)

[Qemu-devel] QEMU device timer

2011-09-22 Thread Xin Tong
I am new to QEMU. I saw most devices in QEMU has a timer associated with it. What are the timers used for ? Thanks