From 62a63a66d5c838da34f22c3af7c2a48cc525ffb7 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Tue, 25 Jul 2023 22:32:03 +0200 Subject: [PATCH] Only set -rtc driftfix=slew on x86 architectures Gbp-Pq: Name Only-set-rtc-driftfix-slew-on-x86-architectures.patch --- lib/launch-direct.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/launch-direct.c b/lib/launch-direct.c index cdfd25a9..5d881a24 100644 --- 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__) -- 2.30.2