ia64/xen-unstable
changeset 18557:1420a6649cfa
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 <keir.fraser@citrix.com>
ticks). Most guests prefer this mode compared with screwing with
progress of virtual time.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Fri Sep 26 17:09:36 2008 +0100 (2008-09-26) |
parents | 840c0c3c185a |
children | b5f20f7ac2b3 |
files | tools/python/xen/xend/XendConfig.py tools/python/xen/xm/create.py |
line diff
1.1 --- a/tools/python/xen/xend/XendConfig.py Fri Sep 26 15:33:51 2008 +0100 1.2 +++ b/tools/python/xen/xend/XendConfig.py Fri Sep 26 17:09:36 2008 +0100 1.3 @@ -441,7 +441,7 @@ class XendConfig(dict): 1.4 1.5 if self.is_hvm(): 1.6 if 'timer_mode' not in self['platform']: 1.7 - self['platform']['timer_mode'] = 0 1.8 + self['platform']['timer_mode'] = 1 1.9 if 'rtc_timeoffset' not in self['platform']: 1.10 self['platform']['rtc_timeoffset'] = 0 1.11 if 'hpet' not in self['platform']:
2.1 --- a/tools/python/xen/xm/create.py Fri Sep 26 15:33:51 2008 +0100 2.2 +++ b/tools/python/xen/xm/create.py Fri Sep 26 17:09:36 2008 +0100 2.3 @@ -214,7 +214,7 @@ gopts.var('hpet', val='HPET', 2.4 use="Enable virtual high-precision event timer.") 2.5 2.6 gopts.var('timer_mode', val='TIMER_MODE', 2.7 - fn=set_int, default=0, 2.8 + fn=set_int, default=1, 2.9 use="""Timer mode (0=delay virtual time when ticks are missed; 2.10 1=virtual time is always wallclock time.""") 2.11