> One of the research projects I am doing involves disassembling machine > instructions (such as PTX ) to TCG IR and use the QEMU backends to generate > code I need. Basically, I am planning to use QEMU as a dynamic translators, > instead of the full system emulation it is developed for. I need a way to > hack out the piece of QEMU used specifically for dyn translations so that i > do not need a machine image to start the dyn trans parts of QEMU. I am > fairly familiar with the QEMU code base. I would like to hear suggestions.
For arch xyz, see target-xyz/translate.c. It does guest binary to TCG ops translation. If your PTX means CUDA PTX, I think QEMU doesn't support such target currently. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667