From 22852b009a741db6ba90eecac34d2d5a0788fd3e Mon Sep 17 00:00:00 2001 From: Ing Date: Thu, 15 May 2025 13:27:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20VMware=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=20tsc=20=E4=B8=8D=E7=A8=B3=E5=AE=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/initrd/opt/rr/boot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/initrd/opt/rr/boot.sh b/files/initrd/opt/rr/boot.sh index 98495a61..ab41546a 100755 --- a/files/initrd/opt/rr/boot.sh +++ b/files/initrd/opt/rr/boot.sh @@ -234,6 +234,11 @@ CMDLINE['nowatchdog']="" CMDLINE['modprobe.blacklist']="${MODBLACKLIST}" CMDLINE['mev']="${MEV:-physical}" +if [ "${MEV:-physical}" = "vmware" ]; then + CMDLINE['tsc']="reliable" + CMDLINE['pmtmr']="0x0" +fi + if [ "${HDDSORT}" = "true" ]; then CMDLINE['hddsort']="" fi