projects
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce28b7
)
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>
Fri, 12 Jul 2024 08:01:14 +0000
(10:01 +0200)
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 cdfd25a9afeda3b97d96a0e3584573aa5d7dd913..5d881a24299bea3aff3c9ba1aa624f24e142d788 100644
(file)
--- a/
lib/launch-direct.c
+++ b/
lib/launch-direct.c
@@
-649,8
+649,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__)