mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Introduce pci-serial
https://bugzilla.redhat.com/show_bug.cgi?id=998813 Like usb-serial, the pci-serial device allows a serial device to be attached to PCI bus. An example XML looks like this: <serial type='dev'> <source path='/dev/ttyS2'/> <target type='pci-serial' port='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </serial> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -5107,12 +5107,16 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
specifies the port number. Ports are numbered starting from 0. There are
|
||||
usually 0, 1 or 2 serial ports. There is also an optional
|
||||
<code>type</code> attribute <span class="since">since 1.0.2</span>
|
||||
which has two choices for its value, one is <code>isa-serial</code>,
|
||||
the other is <code>usb-serial</code>. If <code>type</code> is missing,
|
||||
<code>isa-serial</code> will be used by default. For <code>usb-serial</code>
|
||||
an optional sub-element <code><address></code> with
|
||||
<code>type='usb'</code> can tie the device to a particular controller,
|
||||
<a href="#elementsAddress">documented above</a>.
|
||||
which has three choices for its value, one is <code>isa-serial</code>,
|
||||
then <code>usb-serial</code> and last one is <code>pci-serial</code>.
|
||||
If <code>type</code> is missing, <code>isa-serial</code> will be used by
|
||||
default. For <code>usb-serial</code> an optional sub-element
|
||||
<code><address/></code> with <code>type='usb'</code> can tie the
|
||||
device to a particular controller, <a href="#elementsAddress">documented above</a>.
|
||||
Similarly, <code>pci-serial</code> can be used to attach the device to
|
||||
the pci bus (<span class="since">since 1.2.16</span>). Again, it has
|
||||
optional sub-element <code><address/></code> with
|
||||
<code>type='pci'</code> to select desired location on the PCI bus.
|
||||
</p>
|
||||
|
||||
<h6><a name="elementCharConsole">Console</a></h6>
|
||||
|
||||
@@ -3076,6 +3076,7 @@
|
||||
<choice>
|
||||
<value>isa-serial</value>
|
||||
<value>usb-serial</value>
|
||||
<value>pci-serial</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</define>
|
||||
|
||||
Reference in New Issue
Block a user