search for: basis_localtim

Displaying 7 results from an estimated 7 matches for "basis_localtim".

Did you mean: basis_localtime
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
...ae" : ""); + fprintf (fp, "rtc offset . . . "); + switch (config->rtc.basis) { + case BASIS_UNKNOWN: + fprintf (fp, "unknown"); + break; + case BASIS_UTC: + fprintf (fp, "%d seconds from UTC", config->rtc.offset); + break; + case BASIS_LOCALTIME: + fprintf (fp, "%d seconds from localtime", config->rtc.offset); + break; + } + fprintf (fp, "\n"); fprintf (fp, "disks . . . . . "); if (config->disks != NULL) { for (i = 0; config->disks[i] != NULL; ++i) diff --git a/p2v/conversion.c b...
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 \
2018 Jun 29
3
p2v: Various cleanups.
These are a prelude to fixing https://bugzilla.redhat.com/show_bug.cgi?id=1590220 A lot of the virt-p2v configuration code was duplicated manually. These changes make sure that most of it is generated. Rich.
2019 Dec 03
7
[p2v PATCH 0/6] Use GLib a bit more
In an effort to reduce the code, start to use few bits of GLib: - replace the gnulib c-type module - replace the gnulib getprogname module - use g_spawn_sync to launch curl, and drop a file reading function Pino Toscano (6): Include glib.h in p2v.h Use g_ascii_isspace instead of c_isspace from gnulib Use g_get_prgname instead of getprogname from gnulib build: remove no more used gnulib
2019 Jul 01
0
[PATCH 1/6] p2v: move kernel config to perl script
...name => '$', +}; + +# Enums. +my @enums = ( + ["basis", ( + ["BASIS_UNKNOWN", "unknown", "RTC could not be read"], + ["BASIS_UTC", "utc", "RTC is either UTC or an offset from UTC"], + ["BASIS_LOCALTIME", "localtime", "RTC is localtime"], + )], + ["output_allocation", ( + ["OUTPUT_ALLOCATION_NONE", "none", "output allocation not set"], + ["OUTPUT_ALLOCATION_SPARSE", "sparse", "spa...
2019 Jul 01
8
[PATCH 0/6] p2v: start making it independent
As preliminary steps in splitting virt-p2v to an own repository, start making p2v more independent within libguestfs. This is accomplished by the following changes: - generate the p2v kernel config sources & docs at build time using a Perl script, rather than the generator (so no need for OCaml when building from git, and no generated sources in dist tarballs) - create two local test
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