qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Way to turn off translation buffer function in QEMU?
@ 2017-05-23 13:58 최동용
  0 siblings, 0 replies; only message in thread
From: 최동용 @ 2017-05-23 13:58 UTC (permalink / raw)
  To: qemu-devel

Hello. I'm a student working with QEMU. I'm not sure that I can ask a question to this email address.I'm now trying to turn off the translation buffer function (just for experiment) but having trouble doing it.I tried two different ways to get rid of translation buffer function.(1) I modified the "tb_find_fast" and "tb_find_slow" in cpu_exec.c to always fail to find a correct translation block from buffer and fall to "tb_gen_code".The first approach didn't work. (Even the VM did not turn on.)(2) I found that whenever the translation buffer is full it is flushed in "tb_gen_code" by calling "tb_flush". Therefore I modified the "tb_find_fast" and "tb_find_slow" in cpu_exec.c to always call "tb_flush" before returning from "tb_find" so that translation buffer is kept empty all the time. (to make it impossible to find corresponding translation block from the translation buffer)The second approach also didn't work. (The VM did not turn on too.)Is there any way to turn off the translation buffer function from QEMU? I will really appreciate if anybody could give me an advice.I will also appreciate if anybody could let me know where is best to discuss this kind of questions.Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-23 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-23 13:58 [Qemu-devel] Way to turn off translation buffer function in QEMU? 최동용

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).