SHA256
1
0
forked from pool/libguestfs
libguestfs/use-rtc-driftfix-slew-for-x86-only.patch
Charles Arnold 61cde71544 - Update to version 1.53.6 (jsc#PED-8910)
* Various MacOS fixes and enhancements
  * ocaml: INSTALL_OCAMLLIB Makefile parameter
  * appliance/init: Don't set impossible "noop" disk scheduler
  * Pull in some fixes from the common submodule.
    mlcustomize: Add Inject_virtio_win.inject_blnsvr implementation
    mlcustomize: firstboot: Use Linux path for Powershell script path
    mlcustomize: firstboot: Use powershell.exe instead of path
    mlcustomize: firstboot: Use Powershell -NoProfile flag
    mlcustomize: Revert delay installation of qemu-ga MSI
    mldrivers/linux_kernels.ml: Prefix general information with ^info:
    mlcustomize: Use Start-Process -Wait to run qemu-ga installer
    mlcustomize: Add Firstboot.firstboot_dir function
    mlcustomize: Place powershell scripts into <firstboot_dir>\Temp
    mlcustomize: Inject qemu-ga & blnsvr into <firstboot_dir>/Temp
    mlcustomize: Write qemu-ga log file name to log.txt
    mlcustomize: Add some comments to firstboot batch file
    mlcustomize: Reboot Windows between each firstboot script

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=587
2024-08-29 21:11:54 +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__)