From: "Jan Beulich" Subject: Re: [RFC] Extending numbers of event channels Date: Tue, 04 Dec 2012 09:37:47 +0000 Message-ID: <50BDD27B02000078000ADA08@nat28.tlf.novell.com> References: <1354552154.18784.9.camel@iceland> <50BCF0F502000078000AD53F@nat28.tlf.novell.com> <1354557148.18784.21.camel@iceland> <50BCF6D502000078000AD6AB@nat28.tlf.novell.com> <1354558168.18784.26.camel@iceland> <50BDBCCB02000078000AD8D8@nat28.tlf.novell.com> <1354613450.2693.53.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1354613450.2693.53.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Wei Liu , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 04.12.12 at 10:30, Ian Campbell wrote: > The amount of space needed for levels 1..N-1 ought to be pretty > formulaic for any N, so we could choose to require that enough space be > available after vcpu_info for levels 1..N-1? > > With larger N that might become multiple pages, is that a problem? It > might be preferable to have an explicit call which takes potentially > non-contiguous addresses. Yes, that was my point about space restriction. The current registration call allows only for a single page. Additionally, if we add something variably sized to vcpu_info, I don't think we should make this immediately successive - that would prevent fixed size extensions in the future. Instead, we should have the guest tell at what offset from the base of the structure the bitmaps start. Jan