Re: [Qemu-devel] [PATCH] flush TB on singlestep command

2010-04-19 Thread Jun Koi
Thank you for the explanation of this code. Qemu has a command named singlestep, which reduces the translated code block to be only one instruction. This new patch flushes TBs both when singlestep is on and off. Signed-off-by: Jun Koi diff --git a/monitor.c b/monitor.c index 5659991..2b2005b 1

Re: [Qemu-devel] [PATCH] flush TB on singlestep command

2010-04-16 Thread Stefan Weil
Jun Koi schrieb: > (Thanks to Jan for comments on the last patch) > > Qemu has a command named singlestep, which reduces the translated code > block to be only one instruction. > However, there is one flaw when this command is triggered via monitor > interface: we do not flush all the current TBs,

[Qemu-devel] [PATCH] flush TB on singlestep command

2010-04-15 Thread Jun Koi
(Thanks to Jan for comments on the last patch) Qemu has a command named singlestep, which reduces the translated code block to be only one instruction. However, there is one flaw when this command is triggered via monitor interface: we do not flush all the current TBs, so we will miss single-step