mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Clarify behavior or virDomainDetachDevice
Document that a complete device definition should be used and a partial match can lead to the device being detached. https://bugzilla.redhat.com/show_bug.cgi?id=872028
This commit is contained in:
@@ -2439,9 +2439,12 @@ as command B<attach-device>.
|
||||
For passthrough host devices, see also B<nodedev-reattach>, needed if
|
||||
the device does not use managed mode.
|
||||
|
||||
B<Note>: using of partial device definition XML files may lead to unexpected
|
||||
results as some fields may be autogenerated and thus match devices other than
|
||||
expected.
|
||||
B<Note>: The supplied XML description of the device should be as specific
|
||||
as its definition in the domain XML. The set of attributes used
|
||||
to match the device are internal to the drivers. Using a partial definition,
|
||||
or attempting to detach a device that is not present in the domain XML,
|
||||
but shares some specific attributes with one that is present,
|
||||
may lead to unexpected results.
|
||||
|
||||
If I<--live> is specified, affect a running domain.
|
||||
If I<--config> is specified, affect the next startup of a persistent domain.
|
||||
|
Reference in New Issue
Block a user