Displaying 4 results from an estimated 4 matches for "get_rtc_config".
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
...pe") {
attribute ("arch", host_cpu);
diff --git a/p2v/main.c b/p2v/main.c
index 7f1e1c065..8921184b4 100644
--- a/p2v/main.c
+++ b/p2v/main.c
@@ -340,6 +340,7 @@ set_config_defaults (struct config *config)
config->memory++;
get_cpu_config (&config->cpu);
+ get_rtc_config (&config->rtc);
/* Find all block devices in the system. */
if (!test_disk)
diff --git a/p2v/p2v.h b/p2v/p2v.h
index 6c794f027..38ebe7916 100644
--- a/p2v/p2v.h
+++ b/p2v/p2v.h
@@ -71,6 +71,15 @@ struct cpu_config {
bool pae;
};
+struct rtc_config {
+ enum {
+ BASIS_UNKNOWN...
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
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