From: Markus Armbruster Subject: Re: [RFC] PVFB: Add refresh period to XenStore parameters? Date: Fri, 09 May 2008 12:48:34 +0200 Message-ID: <87bq3fbvnh.fsf@pike.pond.sub.org> References: <20080505165008.GP4497@implementation.uk.xensource.com> <87ve1rv8xb.fsf@pike.pond.sub.org> <20080506163255.GP4430@implementation.uk.xensource.com> <87lk2ntm0z.fsf@pike.pond.sub.org> <20080506172959.GR4430@implementation.uk.xensource.com> <871w4emaxx.fsf@pike.pond.sub.org> <20080507145426.GL4562@implementation.uk.xensource.com> <877ie5i4n7.fsf@pike.pond.sub.org> <20080508150146.GO4365@implementation.uk.xensource.com> <87hcd7c1gc.fsf@pike.pond.sub.org> <20080509103150.GB4786@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080509103150.GB4786@implementation.uk.xensource.com> (Samuel Thibault's message of "Fri\, 9 May 2008 11\:31\:50 +0100") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Samuel Thibault writes: > Markus Armbruster, le Fri 09 May 2008 10:43:15 +0200, a =C3=A9crit : [...] >> > union xenfb_in_event >> > { >> > uint8_t type; >> > + struct xenfb_refresh_period refresh_period; >>=20 >> Time unit? > > There is one in the structure above. I was confused. >> I'd be tempted to use a frequency instead of a period, just because >> that doesn't require a special value for "no updates". Strictly a >> matter of taste. > > The "problem" of an integer frequency is that it does not permit a > period of more than one second, which may become a limit in some odd > situations (thousands of VMs waking every second?) > > Samuel Okay. Any convenient encoding for the values you're interested in should do, as long as it's documented clearly.