[PATCH 0/4] qemu: Move originalMemlock

Michal Privoznik mprivozn at redhat.com
Wed May 11 15:03:15 UTC 2022


As I tried to explain the purpose of virDomainObj to somebody I've
came across this very weirdly placed member: originalMemlock. Let's move
it into qemuDomainObjPrivate. But after I've done so I've realized the
error label is needless. So that's dropped too.

Michal Prívozník (4):
  conf: Move virDomainObj::originalMemlock into qemuDomainObjPrivate
  qemu_domain: Format qemuDomainObjPrivate::originalMemlock
  qemu_domain: Drop needless free from qemuDomainObjPrivateXMLParse()
  qemu_domain: Drop needless 'error' label in
    qemuDomainObjPrivateXMLParse()

 src/conf/domain_conf.h |  3 --
 src/qemu/qemu_domain.c | 76 +++++++++++++++++++++++-------------------
 src/qemu/qemu_domain.h |  3 ++
 3 files changed, 45 insertions(+), 37 deletions(-)

-- 
2.35.1



More information about the libvir-list mailing list