mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(host): cancel backup guest prelaunch
This commit is contained in:
@@ -2446,18 +2446,20 @@ func (s *SKVMGuestInstance) doBlockIoThrottle() {
|
||||
|
||||
func (s *SKVMGuestInstance) onGuestPrelaunch() error {
|
||||
s.LiveMigrateDestPort = nil
|
||||
if options.HostOptions.SetVncPassword {
|
||||
s.SetVncPassword()
|
||||
}
|
||||
if s.isMemcleanEnabled() {
|
||||
if err := s.startMemCleaner(); err != nil {
|
||||
return err
|
||||
if !s.Desc.IsSlave {
|
||||
if options.HostOptions.SetVncPassword {
|
||||
s.SetVncPassword()
|
||||
}
|
||||
if s.isMemcleanEnabled() {
|
||||
if err := s.startMemCleaner(); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
s.OnResumeSyncMetadataInfo()
|
||||
s.GuestPrelaunchSetCgroup()
|
||||
s.optimizeOom()
|
||||
s.doBlockIoThrottle()
|
||||
}
|
||||
s.OnResumeSyncMetadataInfo()
|
||||
s.GuestPrelaunchSetCgroup()
|
||||
s.optimizeOom()
|
||||
s.doBlockIoThrottle()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user