libguestfs/use-rtc-driftfix-slew-for-x86-only.patch
Charles Arnold b0d567393a - Update to version 1.55.2 (jsc#PED-8910)
* lib/inspect-osinfo.c: Add Windows Server 2025 osinfo
  * appliance: Use stable owner, group and mtime in appliance
    tarballs
  * mltools: Replace jansson with json-c
  * lib/info.c: Replace jansson with json-c
  * lib/qemu.c: Replace jansson with json-c
  * lib: direct: Remove test for qemu mandatory locking
  * Various language translations
  * Fix dhcpcd failing on systemd-resolved stub
  * mlcustomize: Add heuristic support for Windows Server 2025
  * mlcustomize/customize_run.ml: Move 'in' to new line
  * mlstdutils/guestfs_config: Define host_os
  * mlcustomize, mltools: Check guest OS is compatible before
    allowing --run
  * generator: Remove common/mlv2v/uefi.ml{,i} files
  * qemuopts: Add ability to add raw, unquoted output to qemu
    scripts
  * qemuopts: Fix missing break statement
  * mlstdutils: Remove Option module
  * Remove test for caml_alloc_initialized_string
  * build: Move baseline OCaml to 4.08

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=593
2025-01-03 22:42:14 +00:00

14 lines
488 B
Diff

--- a/lib/launch-direct.c
+++ b/lib/launch-direct.c
@@ -645,7 +645,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__)