[Qemu-devel] Can Qemu emulation Simultaneous Multi-Thread processor ?

2011-03-12 Thread wang sheng
Did  Qemu emulate the SMT processor ?   I have develop some method to emulate an multi-thread ,  I  define single CPUState  variable,  the CPUState contain  four  thread contexts.    every 1ms interval   , switching thread-context to emulate the threads. How do you think  the way by which I used t

[Qemu-devel] when to check external interrupt request ? or what is the timing to check and arise external interrupt ?

2011-02-21 Thread wang sheng
I'm porting qemu to an new architecture. I come across some difficulty that I can't define the timing that enable qemu's main-thread to be interrupt and check external interrupt . I understand the way that mips used to check external interrupt . in qemu-system-mips , during do translation , if

[Qemu-devel] How can I understand iotlb (IOMMU)

2011-02-20 Thread wang sheng
I can't understand CPUState's iotlb field , Why we need iotlb ?

[Qemu-devel] How can I understand CONFIG_IO_THREAD ?

2011-02-20 Thread wang sheng
What is the purpose of io_thread desigment in qemu ?