Displaying 3 results from an estimated 3 matches for "have_linux_rtc_h".
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
...offset>.
+ */
+
+#include <config.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <libintl.h>
+#include <time.h>
+#include <sys/ioctl.h>
+
+#include <math.h>
+
+#ifdef HAVE_LINUX_RTC_H
+#include <linux/rtc.h>
+#endif
+
+#include "getprogname.h"
+#include "ignore-value.h"
+
+#include "p2v.h"
+
+#ifndef HAVE_LINUX_RTC_H
+void
+get_rtc_config (struct rtc_config *rtc)
+{
+ fprintf (stderr, "%s: RTC: compiled without support for /dev/rtc\n&quo...
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