projects
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc7de9
)
Only set -rtc driftfix=slew on x86 architectures
author
Hilko Bengen
<bengen@debian.org>
Tue, 25 Jul 2023 20:32:03 +0000
(22:32 +0200)
committer
Hilko Bengen
<bengen@debian.org>
Wed, 19 Feb 2025 08:38:24 +0000
(09:38 +0100)
Gbp-Pq: Name Only-set-rtc-driftfix-slew-on-x86-architectures.patch
lib/launch-direct.c
patch
|
blob
|
history
diff --git
a/lib/launch-direct.c
b/lib/launch-direct.c
index 9d0c2215bcdaa2fef746142b2b35f94b14473dfc..ea07a2889347334c22d8150f962f50be3533e2a1 100644
(file)
--- a/
lib/launch-direct.c
+++ b/
lib/launch-direct.c
@@
-644,8
+644,10
@@
launch_direct (guestfs_h *g, void *datav, const char *arg)
/* Force exit instead of reboot on panic */
flag ("-no-reboot");
+#if defined(__i386__) || defined(__x86_64__)
/* These are recommended settings, see RHBZ#1053847. */
arg ("-rtc", "driftfix=slew");
+#endif
if (guestfs_int_qemu_supports (g, data->qemu_data, "-no-hpet"))
flag ("-no-hpet");
#if defined(__i386__) || defined(__x86_64__)