[PATCH 0/7] some cleanups around CPU related code

Daniel Henrique Barboza posted 7 patches 2 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20211118142024.275704-1-danielhb413@gmail.com
src/conf/domain_conf.h       |   1 +
src/cpu/cpu_ppc64.c          |  26 +-------
src/cpu/cpu_x86.c            |  38 +-----------
src/qemu/qemu_capabilities.c | 116 +++++++++++++++--------------------
src/qemu/qemu_process.c      |  15 ++---
5 files changed, 57 insertions(+), 139 deletions(-)

[PATCH 0/7] some cleanups around CPU related code

Posted by Daniel Henrique Barboza 2 weeks, 3 days ago
Hi,

Here are some cleanups I ended up making while investigating a
test issue with ppc64 hosts recently.

Daniel Henrique Barboza (7):
  qemu_capabilities.c: use g_autofree in virQEMUCapsLoadCache()
  cpu_x86.c: remove 'guest' param from x86Compute()
  cpu_ppc64.c: remove 'guest' param from ppc64Compute()
  qemu_capabilities.c: use g_autofree in virQEMUCapsLoadHostCPUModelInfo
  domain_conf.h: add autoptr cleanup func to virDomainXMLOptionPtr
  qemu_process.c: use g_autoptr() in qemuProcessQMPInitMonitor
  qemu_capabilities.c: use g_autoptr() in virQEMUCapsInitHostCPUModel()

 src/conf/domain_conf.h       |   1 +
 src/cpu/cpu_ppc64.c          |  26 +-------
 src/cpu/cpu_x86.c            |  38 +-----------
 src/qemu/qemu_capabilities.c | 116 +++++++++++++++--------------------
 src/qemu/qemu_process.c      |  15 ++---
 5 files changed, 57 insertions(+), 139 deletions(-)

-- 
2.31.1