qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Lack of codes in logging


From: Yue Chen
Subject: Re: [Qemu-devel] Lack of codes in logging
Date: Tue, 29 May 2012 00:25:51 -0400

Do you know how to use that? When I use "log(-d) exec" and "log(-d) pcall", the "qemu.log" is always empty.

On Mon, May 28, 2012 at 10:47 PM, 陳韋任 (Wei-Ren Chen) <address@hidden> wrote:
On Mon, May 28, 2012 at 10:37:47PM -0400, Yue Chen wrote:
> What's the helper function? Thanks.

 How QEMU translation works is as below,

 guest binary -> TCG IR -> host binary

To express complicated operations is not easy for TCG IR. Therefore, you can
write normal C function (helper_function), then use TCG IR "call" to call that
C function (call helper_function). But I note what you are talking about is
in_asm, not op, so Peter should be right. Try "-d exec" instead.

Regards,
chenwj

--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj


reply via email to

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