From: Keir Fraser Date: Fri, 26 Sep 2008 16:09:36 +0000 (+0100) Subject: hvm: Default timer_mode=1 (do not delay virtual time for missed X-Git-Tag: 3.4.0-rc1~214^2~9 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3ff1f0088a1480917fc46625f0ba17c413430305;p=people%2Fpauldu%2Fxen.git hvm: Default timer_mode=1 (do not delay virtual time for missed ticks). Most guests prefer this mode compared with screwing with progress of virtual time. Signed-off-by: Keir Fraser --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 706d6e6e0b..bf7c6dcdc9 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -441,7 +441,7 @@ class XendConfig(dict): if self.is_hvm(): if 'timer_mode' not in self['platform']: - self['platform']['timer_mode'] = 0 + self['platform']['timer_mode'] = 1 if 'rtc_timeoffset' not in self['platform']: self['platform']['rtc_timeoffset'] = 0 if 'hpet' not in self['platform']: diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index 503f318318..dc333e4707 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -214,7 +214,7 @@ gopts.var('hpet', val='HPET', use="Enable virtual high-precision event timer.") gopts.var('timer_mode', val='TIMER_MODE', - fn=set_int, default=0, + fn=set_int, default=1, use="""Timer mode (0=delay virtual time when ticks are missed; 1=virtual time is always wallclock time.""")