[PATCH 0/3] Fix improper union member access on hostdevs and refactoring

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

 



This patch series fixes improper union member accesses on
hostdevs. Additionally, it adds a util function which checks whether a
hostdev is a SCSI device or not. This function is used to simplify and
clarify the code.

Marc Hartmayer (3):
  qemu: Fix improper union member access on hostdevs
  util: Add virHostdevIsSCSIDevice()
  Refactoring: Use virHostdevIsSCSIDevice()

 src/Makefile.am          |  3 ++-
 src/conf/domain_conf.c   |  8 +++-----
 src/libvirt_private.syms |  1 +
 src/qemu/qemu_command.c  |  3 +--
 src/qemu/qemu_conf.c     |  7 +++----
 src/qemu/qemu_domain.c   | 14 +++++---------
 src/qemu/qemu_process.c  |  3 +++
 src/util/virhostdev.c    | 23 +++++++++++++++++------
 src/util/virhostdev.h    |  3 +++
 9 files changed, 38 insertions(+), 27 deletions(-)

-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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