[PATCH 0/2] qemu: Do not erase duplicate input from namespace

Kristina Hanicova posted 2 patches 2 years, 9 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1625654575.git.khanicov@redhat.com
src/qemu/qemu_hotplug.c   |  3 +--
src/qemu/qemu_namespace.c | 34 ++++++++++++++++++++++------------
src/qemu/qemu_namespace.h |  3 ++-
src/util/virprocess.c     |  6 ++++--
4 files changed, 29 insertions(+), 17 deletions(-)
[PATCH 0/2] qemu: Do not erase duplicate input from namespace
Posted by Kristina Hanicova 2 years, 9 months ago
If the attempt to attach an input device failed, we erased the
unattached device from the namespace. This resulted in erasing an
already attached device in case of a duplicate. We need to check for
existing file in the namespace in order to determine erasing it in case
of a failure.

Kristina Hanicova (2):
  qemu: Check for existing file in namespace
  qemu: Do not erase input device from namespace if duplicate

 src/qemu/qemu_hotplug.c   |  3 +--
 src/qemu/qemu_namespace.c | 34 ++++++++++++++++++++++------------
 src/qemu/qemu_namespace.h |  3 ++-
 src/util/virprocess.c     |  6 ++++--
 4 files changed, 29 insertions(+), 17 deletions(-)

-- 
2.31.1