hvm: Only complain about short-period periodic tickers.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-07-18 11:00:32 +01:00
1 parent 080ea11ff4
commit 3a3398a77b
1 file changed
+4 -2
+4 -2
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.