diff --git a/internal/server/instance/drivers/driver_qemu.go b/internal/server/instance/drivers/driver_qemu.go index 3af0deb55c2..9bba975af33 100644 --- a/internal/server/instance/drivers/driver_qemu.go +++ b/internal/server/instance/drivers/driver_qemu.go @@ -8182,6 +8182,11 @@ func (d *qemu) devIncusEventSend(eventType string, eventMessage map[string]any) client, err := d.getAgentClient() if err != nil { + // Don't fail if the VM simply doesn't have an agent. + if err == errQemuAgentOffline { + return nil + } + return err }