[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] hvm: Only complain about short-period periodic tickers.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1196957712 0 # Node ID cbac6d0a78fd17e2729ca3a827c0d5022afec18f # Parent 912279dd383616d6031b7f646a3f5e47c76e02d9 hvm: Only complain about short-period periodic tickers. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> xen-unstable changeset: 15610:ad1c6cf0baafe149c9fe03be3255b95ffef68a34 xen-unstable date: Wed Jul 18 11:00:32 2007 +0100 --- xen/arch/x86/hvm/vpt.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff -r 912279dd3836 -r cbac6d0a78fd xen/arch/x86/hvm/vpt.c --- a/xen/arch/x86/hvm/vpt.c Thu Dec 06 16:14:32 2007 +0000 +++ b/xen/arch/x86/hvm/vpt.c Thu Dec 06 16:15:12 2007 +0000 @@ -260,13 +260,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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |