[parent not found: <744532369.1302404.1489595629515.ref@mail.yahoo.com>]
[parent not found: <1580844463.210110.1488361858695.ref@mail.yahoo.com>]
* [Qemu-devel] need help
[not found] <1580844463.210110.1488361858695.ref@mail.yahoo.com>
@ 2017-03-01 9:50 ` oussema ben khedher
2017-03-01 12:49 ` Peter Maydell
0 siblings, 1 reply; 6+ messages in thread
From: oussema ben khedher @ 2017-03-01 9:50 UTC (permalink / raw)
To: qemu-devel
I am trying to understand the block chaining of QEMU. And I have a question about the branch direction of each executed TBs. Suppose the TB#1 has been executed now, and find the next_tb (TB#2). Then we know the direction is TB#1--->TB#2 and store the chain in code cache for speedup the execution next time. So, next time qemu find the next TB (which is TB#1), then TB#1--->TB#2 will be executed in code cache.
But I think that there are two branch direction of a TB.(branch taken/not taken) My question is how qemu ensure the direction is TB#1--->TB#2 next time?
Thanks all.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] need help
2017-03-01 9:50 ` oussema ben khedher
@ 2017-03-01 12:49 ` Peter Maydell
0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2017-03-01 12:49 UTC (permalink / raw)
To: oussema ben khedher; +Cc: qemu-devel
On 1 March 2017 at 09:50, oussema ben khedher <oussemakeder@yahoo.fr> wrote:
> I am trying to understand the block chaining of QEMU. And I have
> a question about the branch direction of each executed TBs.
> Suppose the TB#1 has been executed now, and find the next_tb (TB#2).
> Then we know the direction is TB#1--->TB#2 and store the chain
> in code cache for speedup the execution next time. So, next time
> qemu find the next TB (which is TB#1), then TB#1--->TB#2 will be
> executed in code cache.
> But I think that there are two branch direction of a TB.(branch
> taken/not taken) My question is how qemu ensure the direction is
> TB#1--->TB#2 next time?
Every TB has two outbound links (though one may be unused for
an unconditional branch). When we chain a TB together we only
chain the link that we took. So if we do a "branch taken" exit
from TB1 and find that it goes to TB2, then we link TB1's
branch-taken code path directly to TB2. But that doesn't affect
the branch-not-taken codepath. Later if we do a branch-not-taken
exit from TB1 we may be able to chain it to a different TB.
(In fact the outbound links are just numbered 0 and 1, and
there's no requirement to use them for taken and not-taken
in any particular order.)
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <97780777.20159439.1485263358339.ref@mail.yahoo.com>]
* [Qemu-devel] Need Help
@ 2016-10-04 14:17 Tushar Bhardwaj
0 siblings, 0 replies; 6+ messages in thread
From: Tushar Bhardwaj @ 2016-10-04 14:17 UTC (permalink / raw)
To: qemu-devel
Respected Sir,
I worked a lot bu not getting idea of how to setup experimental lab using
kvm qemu to implement the pre-copy live migration technique.
You are requested to mail me few steps for the same.
--
"Purity and Simplicity Reflects the Inner Beauty of soul"
*Thank you With Regards:Tushar Sharma,*
*IIT Kharagpur*
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-03-15 16:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1343241353.2189280.1485418056774.ref@mail.yahoo.com>
2017-01-26 8:07 ` [Qemu-devel] need help oussema ben khedher
[not found] <744532369.1302404.1489595629515.ref@mail.yahoo.com>
2017-03-15 16:33 ` oussema ben khedher
[not found] <1580844463.210110.1488361858695.ref@mail.yahoo.com>
2017-03-01 9:50 ` oussema ben khedher
2017-03-01 12:49 ` Peter Maydell
[not found] <97780777.20159439.1485263358339.ref@mail.yahoo.com>
2017-01-24 13:09 ` oussema ben khedher
2016-10-04 14:17 [Qemu-devel] Need Help Tushar Bhardwaj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.