提交 b5494ad8 编写于 作者: B Boris Ostrovsky

xen/time: Return -ENODEV from xen_get_wallclock()

For any other error sync_cmos_clock() will reschedule itself
every second or so, for no good reason.
Suggested-by: NPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: NJuergen Gross <jgross@suse.com>
Signed-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
上级 3d8765d4
......@@ -74,7 +74,7 @@ static void xen_get_wallclock(struct timespec *now)
static int xen_set_wallclock(const struct timespec *now)
{
return -1;
return -ENODEV;
}
static int xen_pvclock_gtod_notify(struct notifier_block *nb,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册