I have run the "date" command on kvm Guest OS and it shows me the time which is way out of sync from host.
I see that clocksource for KVM guest is "timebase" but it is not in sync with host. I tried running ntpd which comes with busybox on guest in hope
to get a time which is in sync with guest,but could not see anything after running below command.
#ntpd -q -p host_ipaddress.
Ping is working between guest and host using TAP.
Would any one point me out some way to get synced time on guest OS with respect to host?
Thanks,
Amit.
ntpd is for keeping clocks in sync that are already close. ntpd only speeds/slows time to match the reference; it does not make time jump. If you want to set the date immediately, use ntpdate.