Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5494ad8 authored by Boris Ostrovsky's avatar Boris Ostrovsky
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
parent 3d8765d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,