From: "Jan Beulich" Subject: Re: [Xen-users] Xen 4.2 TODO (io and irq parameter are not evaluated by xl) Date: Fri, 31 Aug 2012 16:58:33 +0100 Message-ID: <5040FB490200007800097ED2@nat28.tlf.novell.com> References: <1344935141.5926.6.camel@zakaz.uk.xensource.com> <20120814100704.GA19704@bloms.de> <1346421542.27277.218.camel@zakaz.uk.xensource.com> <1346425278.27277.224.camel@zakaz.uk.xensource.com> <5040F7140200007800097E91@nat28.tlf.novell.com> <1346428292.27277.243.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: <1346428292.27277.243.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: Charles Arnold , Kirk Allan Cc: Dieter Bloms , Ian Jackson , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 31.08.12 at 17:51, Ian Campbell wrote: > On Fri, 2012-08-31 at 16:40 +0100, Jan Beulich wrote: >> >>> On 31.08.12 at 17:01, Ian Campbell wrote: >> > --- a/docs/man/xl.cfg.pod.5 Fri Aug 31 12:03:55 2012 +0100 >> > +++ b/docs/man/xl.cfg.pod.5 Fri Aug 31 15:54:42 2012 +0100 >> > @@ -402,6 +402,30 @@ for more information on the "permissive" >> > >> > =back >> > >> > +=item B >> >> Is this really with quotes, and requiring an array? > > I was mostly just following > http://cmrg.fifthhorseman.net/wiki/xen#grantingaccesstoserialhardwaretoadomU > which suggested that this is the xm syntax too. > >> > + >> > +=over 4 >> > + >> > +Allow guest to access specific legacy I/O ports. Each B >> > +is given in hexadecimal and may either a span e.g. C<2f8-2ff> >> > +(inclusive) or a single I/O port C<2f8>. >> > + >> > +It is recommended to use this option only for trusted VMs under >> > +administrator control. >> > + >> > +=back >> > + >> > +=item B >> >> Similarly here - is this really requiring an array? I ask because >> I had to look at this just last week for a colleague, and what >> we got out of inspection of examples/code was that a simple >> number (and a simple range without quotes above) are >> permitted too. > > I had a look in create.py and opts.py and didn't see that, I suppose I > missed it. > > I could implement support for either an array or a simple string/number > but it would complicate the code quite a bit. Is it really worth it? Charles, Kirk, could you comment here? Thanks, Jan