|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] hvm: Only complain about short-period per
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184752832 -3600
# Node ID ad1c6cf0baafe149c9fe03be3255b95ffef68a34
# Parent 2cbaa58b131172dd7b35c384cbe2027e3893e26f
hvm: Only complain about short-period periodic tickers.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/hvm/vpt.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff -r 2cbaa58b1311 -r ad1c6cf0baaf xen/arch/x86/hvm/vpt.c
--- a/xen/arch/x86/hvm/vpt.c Wed Jul 18 10:10:04 2007 +0100
+++ b/xen/arch/x86/hvm/vpt.c Wed Jul 18 11:00:32 2007 +0100
@@ -261,13 +261,15 @@ void create_periodic_time(
pt->enabled = 1;
pt->pending_intr_nr = 0;
- if ( period < 900000 ) /* < 0.9 ms */
+ /* Periodic timer must be at least 0.9ms. */
+ if ( (period < 900000) && !one_shot )
{
gdprintk(XENLOG_WARNING,
"HVM_PlatformTime: program too small period %"PRIu64"\n",
period);
- period = 900000; /* force to 0.9ms */
- }
+ period = 900000;
+ }
+
pt->period = period;
pt->vcpu = v;
pt->last_plt_gtime = hvm_get_guest_time(pt->vcpu);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] hvm: Only complain about short-period periodic tickers.,
Xen patchbot-unstable <=
|
|
|
|
|