Hello all, I am trying to setup a socket for communication between the host/guest. According to the documentation after adding a VZVIrtioSocketDeviceConfiguration object to configuration.socketDevices, the resulting virtualMachine object should have an array of VZVirtioSocketDevices with the member function setListener.
So I have:
let socketConfig = VZVirtioSocketDeviceConfiguration()
configuration.socketDevices = [socketConfig]
...
let virtualMachine = VZVirtualMachine(configuration: configuration)
virtualMachine.socketDevices[0].setSocketListener(<#T##VZVirtioSocketListener#>, forPort: <#T##UInt32#>)
but Xcode throws this error
Value of type 'VZSocketDevice' has no member 'setSocketListener'
Is there something I am missing?