Skip to content

Commit

Permalink
Removed RTC driftfix option for non-Windows/ReactOS/DOS guests
Browse files Browse the repository at this point in the history
According to the QEMU man page:

    Enable driftfix (i386 targets only) if you experience time
    drift problems, specifically with Windows' ACPI HAL. This
    option will try to figure out how many timer interrupts were
    not processed by the Windows guest and will re-inject them.

This option thus seems unnecessary for other systems and may cause
performance or timekeeping issues, so enable only for
Windows/ReactOS/DOS.
  • Loading branch information
chasecovello committed Nov 28, 2024
1 parent af3b2c1 commit 004b38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickemu
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ function vm_boot() {
args+=(-rtc base=localtime,clock=host,driftfix=slew)
else
# shellcheck disable=SC2054
args+=(-rtc base=utc,clock=host,driftfix=slew)
args+=(-rtc base=utc,clock=host)
fi

# shellcheck disable=SC2206
Expand Down

0 comments on commit 004b38f

Please sign in to comment.