[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Enable vHPET in HVM guests by default.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1261392628 0
# Node ID 0856275442705621b81a976801bb665bff2d6786
# Parent  2a48c1b68d51edc3ec46e3fd659068f9aafc3560
xend: Enable vHPET in HVM guests by default.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    2 +-
 tools/python/xen/xm/create.py       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 2a48c1b68d51 -r 085627544270 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Mon Dec 21 10:48:01 2009 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Mon Dec 21 10:50:28 2009 +0000
@@ -501,7 +501,7 @@ class XendConfig(dict):
             if 'rtc_timeoffset' not in self['platform']:
                 self['platform']['rtc_timeoffset'] = 0
             if 'hpet' not in self['platform']:
-                self['platform']['hpet'] = 0
+                self['platform']['hpet'] = 1
             if 'xen_platform_pci' not in self['platform']:
                 self['platform']['xen_platform_pci'] = 1
             if 'vpt_align' not in self['platform']:
diff -r 2a48c1b68d51 -r 085627544270 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Mon Dec 21 10:48:01 2009 +0000
+++ b/tools/python/xen/xm/create.py     Mon Dec 21 10:50:28 2009 +0000
@@ -217,7 +217,7 @@ gopts.var('pae', val='PAE',
           use="Disable or enable PAE of HVM domain.")
 
 gopts.var('hpet', val='HPET',
-          fn=set_int, default=0,
+          fn=set_int, default=1,
           use="Enable virtual high-precision event timer.")
 
 gopts.var('timer_mode', val='TIMER_MODE',

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.