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

Reply via email to