SHA256
1
0
forked from pool/libguestfs
libguestfs/use-rtc-driftfix-slew-for-x86-only.patch
Charles Arnold b13d3ce30c - bsc#1206361 - SLES 15 SP5 Beta2 - virt-customize ssh-inject fails
(s390x/kvm/libvirt) (-> Server-Applications module)
  use-rtc-driftfix-slew-for-x86-only.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=568
2024-02-06 17:46:24 +00:00

14 lines
597 B
Diff

--- libguestfs-1.52.0/lib/launch-direct.c.orig 2024-02-05 14:17:10.208970293 -0700
+++ libguestfs-1.52.0/lib/launch-direct.c 2024-02-05 14:21:37.548976664 -0700
@@ -650,7 +650,10 @@ launch_direct (guestfs_h *g, void *datav
flag ("-no-reboot");
/* These are recommended settings, see RHBZ#1053847. */
+#if defined(__i386__) || defined(__x86_64__)
+ /* Man page states, "Enable driftfix (i386 targets only)" */
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__)