diff --git a/Sources/tart/VM.swift b/Sources/tart/VM.swift index fafad8a..c8ea492 100644 --- a/Sources/tart/VM.swift +++ b/Sources/tart/VM.swift @@ -412,15 +412,13 @@ class VM: NSObject, VZVirtualMachineDelegate, ObservableObject { // // A dummy console device useful for implementing // host feature checks in the guest agent software. - if !suspendable { - let consolePort = VZVirtioConsolePortConfiguration() - consolePort.name = "tart-version-\(CI.version)" + let consolePort = VZVirtioConsolePortConfiguration() + consolePort.name = "tart-version-\(CI.version)" - let consoleDevice = VZVirtioConsoleDeviceConfiguration() - consoleDevice.ports[0] = consolePort + let consoleDevice = VZVirtioConsoleDeviceConfiguration() + consoleDevice.ports[0] = consolePort - configuration.consoleDevices.append(consoleDevice) - } + configuration.consoleDevices.append(consoleDevice) // Socket device configuration.socketDevices = [VZVirtioSocketDeviceConfiguration()]