mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-19 14:10:58 +00:00
domain_conf: comment not match the code below
The outdated comment refers to a non-existent member in the virDomainObj structure. Signed-off-by: Adam Julis <ajulis@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
b5c54df901
commit
619a915862
@ -4449,7 +4449,7 @@ virDomainObjGetDefs(virDomainObj *vm,
|
||||
* @live: set to true if live config was returned (may be omitted)
|
||||
*
|
||||
* Helper function to resolve @flags and return the correct domain pointer
|
||||
* object. This function returns one of @vm->def or @vm->persistentDef
|
||||
* object. This function returns one of @vm->def or @vm->newDef
|
||||
* according to @flags. @live is set to true if the live vm config will be
|
||||
* returned. This helper should be used only in APIs that guarantee
|
||||
* that @flags contains exactly one of VIR_DOMAIN_AFFECT_LIVE or
|
||||
@ -4489,7 +4489,7 @@ virDomainObjGetOneDefState(virDomainObj *vm,
|
||||
* @flags: for virDomainModificationImpact
|
||||
*
|
||||
* Helper function to resolve @flags and return the correct domain pointer
|
||||
* object. This function returns one of @vm->def or @vm->persistentDef
|
||||
* object. This function returns one of @vm->def or @vm->newDef
|
||||
* according to @flags. This helper should be used only in APIs that guarantee
|
||||
* that @flags contains exactly one of VIR_DOMAIN_AFFECT_LIVE or
|
||||
* VIR_DOMAIN_AFFECT_CONFIG and not both.
|
||||
|
Loading…
Reference in New Issue
Block a user