mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-06 21:15:22 +00:00
docs: minor fixes to domain interface documentation
A few examples for <interface> had a type='direct' interface with no
sub-elements. This is not allowed - a type='direct' interface must
have at least a source element. (Most likely the example was copied
from the type='user' or type='ethernet' examples - they *do* allow an
instance with no sub-elements).
There was also one place that mistakenly used %lt; ... %gt; instead of
< ... > (for some reason, I make that typo all the time).
(cherry picked from commit 549741ee44
)
This commit is contained in:
parent
17c787562d
commit
a016b20fa4
@ -2324,7 +2324,6 @@
|
|||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<devices>
|
<devices>
|
||||||
<interface type='direct'/>
|
|
||||||
...
|
...
|
||||||
<interface type='direct'>
|
<interface type='direct'>
|
||||||
<source dev='eth0' mode='vepa'/>
|
<source dev='eth0' mode='vepa'/>
|
||||||
@ -2373,7 +2372,6 @@
|
|||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<devices>
|
<devices>
|
||||||
<interface type='direct'/>
|
|
||||||
...
|
...
|
||||||
<interface type='direct'>
|
<interface type='direct'>
|
||||||
<source dev='eth0.2' mode='vepa'/>
|
<source dev='eth0.2' mode='vepa'/>
|
||||||
@ -2401,7 +2399,6 @@
|
|||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<devices>
|
<devices>
|
||||||
<interface type='direct'/>
|
|
||||||
...
|
...
|
||||||
<interface type='direct'>
|
<interface type='direct'>
|
||||||
<source dev='eth0' mode='private'/>
|
<source dev='eth0' mode='private'/>
|
||||||
@ -2422,7 +2419,7 @@
|
|||||||
passthrough, after first optionally setting the device's MAC
|
passthrough, after first optionally setting the device's MAC
|
||||||
address to the configured value, and associating the device with
|
address to the configured value, and associating the device with
|
||||||
an 802.1Qgh capable switch using an optionally specified
|
an 802.1Qgh capable switch using an optionally specified
|
||||||
%lt;virtualport%gt; element (see the examples of virtualport
|
<virtualport> element (see the examples of virtualport
|
||||||
given above for type='direct' network devices). Note that - due
|
given above for type='direct' network devices). Note that - due
|
||||||
to limitations in standard single-port PCI ethernet card driver
|
to limitations in standard single-port PCI ethernet card driver
|
||||||
design - only SR-IOV (Single Root I/O Virtualization) virtual
|
design - only SR-IOV (Single Root I/O Virtualization) virtual
|
||||||
|
Loading…
Reference in New Issue
Block a user