vdev pl011

Emulate a PL011 serial device

Synopsis:

vdev pl011 [batch timeout] [delayed seconds|forever] hostdev [<|>]host_device_name 
           [sched priority]

Options:

batch timeout
If specified, instead of writing one character at a time, the vdev batches output until the number of microseconds specifed by timeout has passed with no new characters coming in.
delayed seconds|forever
If specified, delay opening the device in the host until it is first referenced by the guest.
If the device isn't found in the host, continue trying for the number of seconds specified by seconds before timing out (e.g., delayed 5). If seconds is set to 0 (i.e., delayed 0), try only once to find the device on the host. If the argument is set to “forever” (i.e., delayed forever), never time out, just keep trying to find the device on the host.
hostdev [<|>]host_device_name
Use the host_device_name as the source and/or destination of characters to the device.
You can use one of < (input) or > (output) in a hostdev option, so the host device specified by host_device_name provides input or receives output. If you specify neither < nor >, the device is used for both input and output.
Multiple hostdev options are allowed. The most common usage is to specify separate devices for input and output, as follows:
hostdev <myhostinputdevice
hostdev >myhostoutputdevice
Or, you can specify the same device for both input and output:
hostdev myhostdevice
sched priority
Send pulses indicating available input on the host device with a priority level of priority.

For a list of options available to all vdevs, see Common vdev options at the beginning of this chapter.

Description:

ARM only. The pl011 vdev emulates a PL011 serial device.