aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vpt.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-10-22 12:08:16 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-10-22 12:08:16 +0100
commitcdd644ce1082849d20832902d8d5a69b854f8cbe (patch)
tree0caa1f192648a50cd4653a16edec8c9665c3b886 /xen/arch/x86/hvm/vpt.c
parentbfd5a3fec25a6dd88425dff7c908127ef4b1dada (diff)
downloadxen-cdd644ce1082849d20832902d8d5a69b854f8cbe.tar.gz
xen-cdd644ce1082849d20832902d8d5a69b854f8cbe.tar.bz2
xen-cdd644ce1082849d20832902d8d5a69b854f8cbe.zip
x86, hvm: Allow 100us periodic virtual timers
Adjust vpt and hpet minimum period (for timers) from 900us to 100us to be able to pass Windows 2008 compatibility tests. Signed-off-by: Peter Johnston <peter.johnston@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/vpt.c')
-rw-r--r--xen/arch/x86/hvm/vpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/hvm/vpt.c b/xen/arch/x86/hvm/vpt.c
index 27bacd9b28..d9730bf140 100644
--- a/xen/arch/x86/hvm/vpt.c
+++ b/xen/arch/x86/hvm/vpt.c
@@ -368,13 +368,13 @@ void create_periodic_time(
pt->do_not_freeze = 0;
pt->irq_issued = 0;
- /* Periodic timer must be at least 0.9ms. */
- if ( (period < 900000) && period )
+ /* Periodic timer must be at least 0.1ms. */
+ if ( (period < 100000) && period )
{
if ( !test_and_set_bool(pt->warned_timeout_too_short) )
gdprintk(XENLOG_WARNING, "HVM_PlatformTime: program too "
"small period %"PRIu64"\n", period);
- period = 900000;
+ period = 100000;
}
pt->period = period;