From: Dan Magenheimer Subject: timer_mode default change?!? Date: Tue, 30 Sep 2008 20:25:31 +0000 (GMT) Message-ID: <053b52a6-86cd-4218-8183-80c0289fcb9a@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-Devel (E-mail)" , Keir Fraser List-Id: xen-devel@lists.xenproject.org Huh? "Most guests" means Windows? AFAIK, *no* Linux hvm guest prefers timer_mode=3D=3D1. > -----Original Message----- > From: Xen patchbot-unstable > [mailto:patchbot-unstable@lists.xensource.com] > Sent: Tuesday, September 30, 2008 9:00 AM > To: xen-changelog@lists.xensource.com > Subject: [Xen-changelog] [xen-unstable] hvm: Default timer_mode=3D1 (do > not delay virtual time for missed >=20 >=20 > # HG changeset patch > # User Keir Fraser > # Date 1222445376 -3600 > # Node ID 1420a6649cfa2963f1d71956756c922a3b671ae6 > # Parent 840c0c3c185ae2b0baeceba7caf2f420a44f116d > hvm: Default timer_mode=3D1 (do not delay virtual time for missed > ticks). Most guests prefer this mode compared with screwing with > progress of virtual time. >=20 > Signed-off-by: Keir Fraser > --- > tools/python/xen/xend/XendConfig.py | 2 +- > tools/python/xen/xm/create.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff -r 840c0c3c185a -r 1420a6649cfa=20 > tools/python/xen/xend/XendConfig.py > --- a/tools/python/xen/xend/XendConfig.py=09Fri Sep 26=20 > 15:33:51 2008 +0100 > +++ b/tools/python/xen/xend/XendConfig.py=09Fri Sep 26=20 > 17:09:36 2008 +0100 > @@ -441,7 +441,7 @@ class XendConfig(dict): > =20 > if self.is_hvm(): > if 'timer_mode' not in self['platform']: > - self['platform']['timer_mode'] =3D 0 > + self['platform']['timer_mode'] =3D 1 > if 'rtc_timeoffset' not in self['platform']: > self['platform']['rtc_timeoffset'] =3D 0 > if 'hpet' not in self['platform']: > diff -r 840c0c3c185a -r 1420a6649cfa tools/python/xen/xm/create.py > --- a/tools/python/xen/xm/create.py=09Fri Sep 26 15:33:51 2008 +0100 > +++ b/tools/python/xen/xm/create.py=09Fri Sep 26 17:09:36 2008 +0100 > @@ -214,7 +214,7 @@ gopts.var('hpet', val=3D'HPET', > use=3D"Enable virtual high-precision event timer.") > =20 > gopts.var('timer_mode', val=3D'TIMER_MODE', > - fn=3Dset_int, default=3D0, > + fn=3Dset_int, default=3D1, > use=3D"""Timer mode (0=3Ddelay virtual time when ticks=20 > are missed; > 1=3Dvirtual time is always wallclock time.""") > =20 >=20 > _______________________________________________ > Xen-changelog mailing list > Xen-changelog@lists.xensource.com > http://lists.xensource.com/xen-changelog >