search for: rtce

Displaying 3 results from an estimated 3 matches for "rtce".

Did you mean: race
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
...t support for /dev/rtc\n", + getprogname ()); + + rtc->offset = 0; + rtc->basis = BASIS_UTC; +} + +#else /* HAVE_LINUX_RTC_H */ + +/** + * Return RTC offset from UTC in seconds, positive numbers meaning + * that the RTC is running ahead of UTC. + * + * In the error case, C<rtcE<gt>offset> is updated with 0 and + * C<rtcE<gt>basis> is set to C<BASIS_UNKNOWN>. + */ +void +get_rtc_config (struct rtc_config *rtc) +{ + int fd; + struct rtc_time rtm; + struct tm tm; + time_t rtc_time; + time_t system_time; + double rf; + + rtc->basis = BASIS...
2017 Mar 21
2
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
Unlike the <cpu> node (see the other thread on the libguestfs ML), reading the Real Time Clock doesn't require libvirt and does work :-) For reference, read: https://libvirt.org/formatdomain.html#elementsTime https://en.wikipedia.org/wiki/Time_zone To test this you can run virt-p2v under qemu with a RTC offset: make -C p2v \ run-virt-p2v-in-a-vm \
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am