From: Wei Liu <wei.liu2@citrix.com>
To: "Hao, Xudong" <xudong.hao@intel.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
"stefano.stabellini@eu.citrix.com"
<stefano.stabellini@eu.citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Anthony PERARD <anthony.perard@citrix.com>,
Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: Re: pv-grub guest booting fail with recent qemu-xen
Date: Tue, 12 Apr 2016 09:28:29 +0100 [thread overview]
Message-ID: <20160412082829.GA18096@citrix.com> (raw)
In-Reply-To: <B8376D2DEA074F45BA033984477C453E034632B3@shsmsx102.ccr.corp.intel.com>
On Tue, Apr 12, 2016 at 01:56:50AM +0000, Hao, Xudong wrote:
> > -----Original Message-----
> > From: Wei Liu [mailto:wei.liu2@citrix.com]
> > Sent: Monday, April 11, 2016 6:54 PM
> > To: Samuel Thibault <samuel.thibault@ens-lyon.org>; Wei Liu
> > <wei.liu2@citrix.com>; Hao, Xudong <xudong.hao@intel.com>; Konrad
> > Rzeszutek Wilk <konrad.wilk@oracle.com>; xen-devel@lists.xen.org;
> > stefano.stabellini@eu.citrix.com; Anthony PERARD <anthony.perard@citrix.com>
> > Subject: Re: [Xen-devel] pv-grub guest booting fail with recent qemu-xen
> >
> > On Sun, Apr 10, 2016 at 10:14:46PM +0200, Samuel Thibault wrote:
> > > Hello,
> > >
> > > > > > > + if (prod - out_cons >= XENFB_OUT_RING_LEN) {
> > > > > > > + return;
> > > > > > > + }
> > >
> > > This test seems overzealous to me: AIUI, the producer can produce
> > > XENFB_OUT_RING_LEN events, and thus prod - out_cons is exactly
> > > XENFB_OUT_RING_LEN, i.e. there is no room left at all.
> > >
> > > The frontend part is:
> > >
> > > while (page->out_prod - page->out_cons == XENFB_OUT_RING_LEN)
> > > schedule();
> > >
> > > I.e. it waits while the buffer is exactly full.
> > >
> > > So it seems to me the bug is at the backend side.
> > >
> >
> > OK, thanks for checking!
> >
> > Hudong, can you try the following diff?
>
> Yes, This patch works with testing.
>
Thanks for testing!
I will submit this patch properly.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2016-04-12 8:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-02 7:16 pv-grub guest booting fail with recent qemu-xen Hao, Xudong
2016-03-25 18:57 ` Konrad Rzeszutek Wilk
2016-03-28 2:03 ` Hao, Xudong
2016-03-28 13:21 ` Konrad Rzeszutek Wilk
2016-03-29 1:44 ` Hao, Xudong
2016-03-29 16:58 ` Wei Liu
2016-03-30 2:05 ` Hao, Xudong
2016-04-01 15:54 ` Konrad Rzeszutek Wilk
2016-04-05 1:26 ` Hao, Xudong
2016-04-05 15:41 ` Wei Liu
2016-04-10 20:14 ` Samuel Thibault
2016-04-11 10:54 ` Wei Liu
2016-04-11 11:52 ` Wei Liu
2016-04-12 1:56 ` Hao, Xudong
2016-04-12 8:28 ` Wei Liu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160412082829.GA18096@citrix.com \
--to=wei.liu2@citrix.com \
--cc=anthony.perard@citrix.com \
--cc=samuel.thibault@ens-lyon.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=xudong.hao@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).