Virtuozzo Virtualization SDK C API Reference
|
The PHT_VIRTUAL_DEV_SERIAL_PORT handle is used to manage serial ports in a virtual machine. The handle is obtained by making the PrlVmCfg_CreateVmDev or the PrlVmCfg_GetSerialPort function call.
The following describes how to create new or modify an existing serial port on a virtual machine.
First, you have to set the emulation type using the PrlVmDev_SetEmulatedType function. The available types are:
Real port
|
Name |
Description |
|
Returns the socket mode of a virtual serial port. | |
|
Sets the socket mode for a virtual serial port. |