[Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-05 Thread Chao Gao
One 4K-byte page at most contains 128 'ioreq_t'. In order to remove the vcpu number constraint imposed by one IOREQ page, bump the number of IOREQ page to 4 pages. With this patch, multiple pages can be used as IOREQ page. Basically, this patch extends 'ioreq' field in struct hvm_ioreq_server to a

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2018-04-18 Thread Jan Beulich
>>> On 06.12.17 at 08:50, wrote: > One 4K-byte page at most contains 128 'ioreq_t'. In order to remove the vcpu > number constraint imposed by one IOREQ page, bump the number of IOREQ page to > 4 pages. With this patch, multiple pages can be used as IOREQ page. In case I didn't say so before - I'

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-06 Thread Paul Durrant
> -Original Message- > From: Chao Gao [mailto:chao@intel.com] > Sent: 06 December 2017 07:50 > To: xen-de...@lists.xen.org > Cc: Chao Gao ; Paul Durrant > ; Tim (Xen.org) ; Stefano Stabellini > ; Konrad Rzeszutek Wilk > ; Jan Beulich ; George > Dunlap ; Andrew Cooper > ; Wei Liu ; Ian J

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-06 Thread Chao Gao
On Wed, Dec 06, 2017 at 03:04:11PM +, Paul Durrant wrote: >> -Original Message- >> From: Chao Gao [mailto:chao@intel.com] >> Sent: 06 December 2017 07:50 >> To: xen-de...@lists.xen.org >> Cc: Chao Gao ; Paul Durrant >> ; Tim (Xen.org) ; Stefano Stabellini >> ; Konrad Rzeszutek Wilk

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-06 Thread Paul Durrant
> -Original Message- > From: Chao Gao [mailto:chao@intel.com] > Sent: 06 December 2017 09:02 > To: Paul Durrant > Cc: xen-de...@lists.xen.org; Tim (Xen.org) ; Stefano > Stabellini ; Konrad Rzeszutek Wilk > ; Jan Beulich ; George > Dunlap ; Andrew Cooper > ; Wei Liu ; Ian Jackson > > S

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-07 Thread Paul Durrant
p ; > xen-de...@lists.xen.org; Jan Beulich ; Ian Jackson > > Subject: Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of > IOREQ page to 4 pages > > > -Original Message- > > From: Chao Gao [mailto:chao@intel.com] > > Sent: 06 December 2017 09:02

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-07 Thread Chao Gao
tefano Stabellini ; Wei Liu >> ; Andrew Cooper ; Tim >> (Xen.org) ; George Dunlap ; >> xen-de...@lists.xen.org; Jan Beulich ; Ian Jackson >> >> Subject: Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of >> IOREQ page to 4 pages >> >> > -

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-08 Thread Paul Durrant
t; >> Of Paul Durrant > >> Sent: 06 December 2017 16:10 > >> To: 'Chao Gao' > >> Cc: Stefano Stabellini ; Wei Liu > >> ; Andrew Cooper ; > Tim > >> (Xen.org) ; George Dunlap ; > >> xen-de...@lists.xen.or

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-12 Thread Chao Gao
u >> >> ; Andrew Cooper ; >> Tim >> >> (Xen.org) ; George Dunlap ; >> >> xen-de...@lists.xen.org; Jan Beulich ; Ian Jackson >> >> >> >> Subject: Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of >> >> IOREQ page t

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-12 Thread Paul Durrant
> -Original Message- [snip] > > Hi, Paul. > > I merged the two qemu patches, the privcmd patch [1] and did some tests. > I encountered a small issue and report it to you, so you can pay more > attention to it when doing some tests. The symptom is that using the new > interface to map gran

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-12 Thread Chao Gao
On Tue, Dec 12, 2017 at 09:07:46AM +, Paul Durrant wrote: >> -Original Message- >[snip] >> >> Hi, Paul. >> >> I merged the two qemu patches, the privcmd patch [1] and did some tests. >> I encountered a small issue and report it to you, so you can pay more >> attention to it when doing

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-13 Thread Paul Durrant
> -Original Message- > From: Chao Gao [mailto:chao@intel.com] > Sent: 12 December 2017 23:39 > To: Paul Durrant > Cc: Stefano Stabellini ; Wei Liu > ; Andrew Cooper ; Tim > (Xen.org) ; George Dunlap ; > xen-de...@lists.xen.org; Jan Beulich ; Ian Jackson > > Subject: Re: [RFC Patch v4

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-13 Thread Paul Durrant
p ; > xen-de...@lists.xen.org; Jan Beulich ; Ian Jackson > > Subject: Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of > IOREQ page to 4 pages > > > -Original Message- > > From: Chao Gao [mailto:chao@intel.com] > > Sent: 12 December 2017 23:39 >

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-14 Thread Paul Durrant
> -Original Message- > > > > Hmm. That looks like it is because the ioreq server pages are not owned by > > the correct domain. The Xen patch series underwent some changes later in > > review and I did not re-test my QEMU patch after that so I wonder if > > mapping IOREQ pages has simply be

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-14 Thread Chao Gao
On Thu, Dec 14, 2017 at 02:50:17PM +, Paul Durrant wrote: >> -Original Message- >> > >> > Hmm. That looks like it is because the ioreq server pages are not owned by >> > the correct domain. The Xen patch series underwent some changes later in >> > review and I did not re-test my QEMU pa

Re: [Xen-devel] [RFC Patch v4 2/8] ioreq: bump the number of IOREQ page to 4 pages

2017-12-15 Thread Paul Durrant
> -Original Message- > From: Chao Gao [mailto:chao@intel.com] > Sent: 15 December 2017 00:36 > To: Paul Durrant > Cc: Stefano Stabellini ; Wei Liu > ; Andrew Cooper ; Tim > (Xen.org) ; George Dunlap ; > xen-de...@lists.xen.org; Jan Beulich ; Ian Jackson > > Subject: Re: [RFC Patch v4