tags/xen-2016-04-20
The following changes since commit 42bb626f7ebc9197d2943b897a99e127315275ab:
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2016-04-12 09:34:52 +0100)
are available in the git repository at:
git://xenbits.xen.org/people/sstabellini/qemu-dm.git tags/xen-2016-04-20
for you to fetch changes up to 4df26e88ee2f23c01418630368e87b719ed06b75:
xenfb: use the correct condition to avoid excessive looping (2016-04-12 10:16:08 -0700)
----------------------------------------------------------------
Xen 2016/04/20
----------------------------------------------------------------
Wei Liu (1):
xenfb: use the correct condition to avoid excessive looping
hw/display/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PULL for-2.6 1/1] xenfb: use the correct condition to avoid excessive looping
From: Wei Liu <[email protected]>
In commit ac0487e1 ("xenfb.c: avoid expensive loops when prod <= out_cons"), ">=" was used. In fact, a full ring is a legit state. Correct the test to use ">".
--- hw/display/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/display/xenfb.c +1 -1
@@ -775,7 +775,7 @@ static void xenfb_handle_events(struct XenFB *xenfb) prod = page->out_prod; out_cons = page->out_cons; -if (prod - out_cons >=XENFB_OUT_RING_LEN ) { +if (prod - out_cons >XENFB_OUT_RING_LEN ) {return ; }xen_rmb ();/* ensure we see ring contents up to prod */
Signature · 1 line
1.9.1
Peter Maydell
AppliedQuoted 16 lines · Stefano Stabellini
The following changes since commit
42bb626f7ebc9197d2943b897a99e127315275ab:Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2016-04-12 09:34:52 +0100)
are available in the git repository at:
git://xenbits.xen.org/people/sstabellini/qemu-dm.gittags/xen-2016-04-20for you to fetch changes up to
4df26e88ee2f23c01418630368e87b719ed06b75:xenfb: use the correct condition to avoid excessive looping (2016-04-12 10:16:08 -0700)
----------------------------------------------------------------
Xen 2016/04/20
Quoted 6 lines
----------------------------------------------------------------
Wei Liu (1):
xenfb: use the correct condition to avoid excessive loopinghw/display/xenfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
-- PMM