Skip to content

Commit

Permalink
Revert "pkg: defaults: Workaround to fix QEMU's MSR errors" (#914)
Browse files Browse the repository at this point in the history
This reverts commit 72eb820.

It seems this workaround is no longer required on newer systems and it's
causing a new error:

KVM: entry failed, hardware error 0x80000021

Removing the workaround solves this issue and it also works with kernel
5.10.186.

Signed-off-by: Renê de Souza Pinto <[email protected]>
  • Loading branch information
rene authored Oct 30, 2023
1 parent 9bb0133 commit 9a9738f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const (
DefaultAdamLogLevel = "warning" //min level of logs sent from EVE to Adam

DefaultQemuAccelDarwin = "-machine q35,accel=hvf -cpu kvm64,kvmclock=off "
DefaultQemuAccelLinuxAmd64 = "-machine q35,accel=kvm,dump-guest-core=off,kernel-irqchip=split -cpu host,-vmx-true-ctls,-vmx-secondary-ctls,invtsc=on,kvmclock=off -device intel-iommu,intremap=on,caching-mode=on,aw-bits=48 "
DefaultQemuAccelLinuxAmd64 = "-machine q35,accel=kvm,dump-guest-core=off,kernel-irqchip=split -cpu host,invtsc=on,kvmclock=off -device intel-iommu,intremap=on,caching-mode=on,aw-bits=48 "
DefaultQemuAmd64 = "-machine q35,smm=on --cpu SandyBridge "

DefaultQemuAccelArm64 = "-machine virt,accel=kvm,usb=off,dump-guest-core=off -cpu host "
Expand Down

0 comments on commit 9a9738f

Please sign in to comment.