Displaying 6 results from an estimated 6 matches for "rtc_config".
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
...uot;) {
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...
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 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
2009 Dec 17
8
System Clock Offset in b129 dom0
...t; +clock.trit.net 192.12.19.20 2 u 62 64 377 126.475 -179996 151.771
> +xanadu.fnerk.or 132.236.56.250 3 u 56 64 377 46.302 -179996 146.168
> *198.186.191.229 199.165.76.11 2 u 48 64 377 100.007 -179996 144.046
(see the huge offset)
My /etc/TIMEZONE and /etc/rtc_config files are correct compared with the
rest of my OpenSolaris systems.
Any ideas as to what''s going on?
Thanks,
James
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 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