Skip to contentSkip to conversation

Can anybody simply explains how the device model gets run?

Qemu-devel 刘鹏程 1 participant 2 messages Jan 4, 2010 – Jan 6, 2010

lore
Share & tools
lore

刘鹏程

author
#0 lore raw

As a learner of qemu, I am a little bit confused about the qemu device model.
How the device model gets run and when the device interrupt is raised to CPU?
In the cpu_exec loop or before it?

Thanks

author
#1 lore raw

let me be more specific, for pci nic rtl8139, some callback functions are registered
during initialization, such as rtl8139_receive, rtl8139_can_receive. When and how
do these functions get called? My qemu vertion is qemu-0.10.6. Can anyone generally explain the process? It will be very appreciated.

Thanks

2010/1/4 刘鹏程 <[email protected]>

Quoted 8 lines

As a learner of qemu, I am a little bit confused about the qemu device model.
How the device model gets run and when the device interrupt is raised to CPU?
In the cpu_exec loop or before it?

Thanks