[PATCH v2 0/8] domain_conf & domain_capabilities: small refactoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff to v1:
* dropped 1 wrong commit (thanks Daniel)
* improved setting of the variable (suggested by Peter, Michal, Martin)
* extended the switch to include all cases instead of simple if to be
  future proof (suggested by Peter)

v1:
https://listman.redhat.com/archives/libvir-list/2022-July/232991.html

Kristina Hanicova (8):
  domain_capabilities: use early return in
    virDomainCapsFeatureSEVFormat()
  domain_capabilities: reformat virDomainCapsFeatureSEVFormat()
  domain_capabilities: reformat virDomainCapsCPUCustomFormat()
  domain_conf: remove breaks after return in
    virDomainChrSourceDefIsEqual()
  domain_conf: extend switch with if in virDomainChrDefFree()
  domain_conf: use early return in virDomainObjAssignDef()
  domain_conf: rewrite conditions in virDomainObjWaitUntil()
  domain_conf: rewrite variable setting

 src/conf/domain_capabilities.c | 37 ++++++++---------
 src/conf/domain_conf.c         | 76 +++++++++++++++++-----------------
 2 files changed, 55 insertions(+), 58 deletions(-)

-- 
2.35.3




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux