[PATCH v2 0/3] Do not erase duplicate devices from namespace

Kristina Hanicova khanicov at redhat.com
Wed Jul 14 14:46:51 UTC 2021


This is v2 of:
https://listman.redhat.com/archives/libvir-list/2021-July/msg00129.html

Changes since v1 (suggested by Michal and Jano):
* change of int variable to one-word bool
* isolate changes outside of qemu to separate patch
* rewritten assignment of return value
* slight change of documentation
* extension of use to all devices, not just input
* @created variable is set in one core function instead of setting it in
  each device function separately

Kristina Hanicova (3):
  qemu: Check for existing file in namespace
  virprocess: Return retval of the child on success, not 0
  qemu: Do not erase duplicate devices from namespace if error occurs

 src/qemu/qemu_domain.c    |  4 +--
 src/qemu/qemu_hotplug.c   | 27 +++++----------
 src/qemu/qemu_namespace.c | 71 +++++++++++++++++++++++++--------------
 src/qemu/qemu_namespace.h | 18 ++++++----
 src/qemu/qemu_process.c   |  2 +-
 src/util/virprocess.c     | 12 ++++---
 6 files changed, 75 insertions(+), 59 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list