mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-21 17:52:57 +08:00
feat(host): disable guest hpet timer by default (#19535)
The HPET was turned off by default purely because of issues with time drifting on Windows guests. (See nova commit ba3fd16605.)
This commit is contained in:
@@ -1064,7 +1064,6 @@ func (s *SKVMGuestInstance) initMachineDesc() {
|
||||
noHpet := true
|
||||
s.Desc.NoHpet = &noHpet
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (s *SKVMGuestInstance) initQgaDesc() {
|
||||
|
||||
@@ -36,7 +36,7 @@ type SHostBaseOptions struct {
|
||||
LiveMigrateCpuThrottleMax int64 `default:"99" help:"live migrate auto converge cpu throttle max"`
|
||||
|
||||
DefaultQemuVersion string `help:"Default qemu version" default:"4.2.0"`
|
||||
NoHpet bool `help:"disable qemu hpet timer" default:"false"`
|
||||
NoHpet bool `help:"Disable qemu hpet timer" default:"true"`
|
||||
|
||||
CdromCount int `help:"cdrom count" default:"1"`
|
||||
FloppyCount int `help:"floppy count" default:"1"`
|
||||
|
||||
Reference in New Issue
Block a user