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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux