提交 ccf7c4b9 编写于 作者: E Eric Blake

docs: improve VIR_DOMAIN_AFFECT_CURRENT description

* include/libvirt/libvirt.h.in (virDomainModificationImpact): Reword.
上级 c0980a3a
...@@ -144,11 +144,16 @@ typedef enum { ...@@ -144,11 +144,16 @@ typedef enum {
/** /**
* virDomainModificationImpact: * virDomainModificationImpact:
* *
* Several APIs take flags to determine whether a change to the domain * Several modification APIs take flags to determine whether a change
* affects just the running instance, just the persistent definition, * to the domain affects just the running instance, just the
* or both. The use of VIR_DOMAIN_AFFECT_CURRENT will resolve to * persistent definition, or both at the same time. The counterpart
* either VIR_DOMAIN_AFFECT_LIVE or VIR_DOMAIN_AFFECT_CONFIG according * query APIs also take the same flags to determine whether to query
* to current domain state. VIR_DOMAIN_AFFECT_LIVE requires a running * the running instance or persistent definition, although both cannot
* be queried at once.
*
* The use of VIR_DOMAIN_AFFECT_CURRENT will resolve to either
* VIR_DOMAIN_AFFECT_LIVE or VIR_DOMAIN_AFFECT_CONFIG according to
* current domain state. VIR_DOMAIN_AFFECT_LIVE requires a running
* domain, and VIR_DOMAIN_AFFECT_CONFIG requires a persistent domain * domain, and VIR_DOMAIN_AFFECT_CONFIG requires a persistent domain
* (whether or not it is running). * (whether or not it is running).
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册