diff --git a/internal/server/instance/drivers/driver_qemu.go b/internal/server/instance/drivers/driver_qemu.go index c1c39d3d9ae..0d04bc6a022 100644 --- a/internal/server/instance/drivers/driver_qemu.go +++ b/internal/server/instance/drivers/driver_qemu.go @@ -757,17 +757,8 @@ func (d *qemu) Shutdown(timeout time.Duration) error { // Wait 500ms for the first event to be received by the guest. time.Sleep(500 * time.Millisecond) - // Send a second system_powerdown command (required to get Windows to shutdown). - err = monitor.Powerdown() - if err != nil { - if err == qmp.ErrMonitorDisconnect { - op.Done(nil) - return nil - } - - op.Done(err) - return err - } + // Attempt to send a second system_powerdown command (required to get Windows to shutdown). + _ = monitor.Powerdown() d.logger.Debug("Shutdown request sent to instance")