Emulate the Intel 8250 UART
Synopsis:
vdev ser8250 options
Options:
- batch timeout
- If specified, instead of writing one character at a time, the vdev batches
output until the number of microseconds given 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), 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.
You can define multiple
hostdev options,
to specify separate input and output devices:
hostdev <myhostinputdevice
hostdev >myhostoutputdevice
Or, you can specify the same device for both input and output:
hostdev myhostdevice
- intr
intr
- Signal intr for device interrupts.
- loc
addr
- Set the base address of the device registers to addr.
Default space is io:.
- sched
priority
- Set the priority specified by priority for pulses
indicating that input is available.
For a list of options available to all vdevs, see Common vdev options earlier in this chapter.
Description:
The ser8250 vdev emulates the Intel 8250 UART.