Re: [PATCH RESEND 00/20] handle missing SR-IOV VF hostdevs during running domains

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

 



Ping for reviews (patches 1-4 and 7-8 already pushed).



On 1/18/21 4:53 PM, Daniel Henrique Barboza wrote:
This is the rebased version of

https://www.redhat.com/archives/libvir-list/2021-January/msg00028.html

with master at 57b1ddcaaa5b5. No changes made aside from trivial conflicts
fixes.

I also removed the military jargon from the previous subject to make it
clear what this series is doing.

Daniel Henrique Barboza (20):
   virpci, domain_audit: use virPCIDeviceAddressAsString()
   qemu, lxc: move NodeDeviceGetPCIInfo() function to domain_driver.c
   domain_driver.c: use PCI address with
     virDomainDriverNodeDeviceGetPCIInfo()
   virpci.c: simplify virPCIDeviceNew() signature
   virpci: introduce virPCIDeviceExists()
   virhostdev.c: virHostdevGetPCIHostDevice() now reports missing device
   security_selinux.c: modernize set/restore hostdev subsys label
     functions
   security_dac.c: modernize hostdev label set/restore functions
   dac, selinux: skip setting/restoring label for absent PCI devices
   libvirt-nodedev.c: remove return value from virNodeDeviceFree()
   qemu_driver.c: modernize qemuNodeDeviceReAttach()
   libxl_driver.c: modernize libxlNodeDeviceReAttach()
   virsh-domain.c: modernize cmdDetachDevice()
   virhostdev.c: add virHostdevIsPCIDevice() helper
   qemu_cgroup.c: skip absent PCI devices in qemuTeardownHostdevCgroup()
   virpci.c: use virPCIDeviceAddressPtr in virPCIDeviceListFindIndex()
   virpci.c: use virPCIDeviceAddressPtr in virPCIDeviceListFind()
   virpci.c: use virPCIDeviceAddressPtr in virPCIDeviceListSteal()
   virpci.c: use virPCIDeviceAddressPtr in virPCIDeviceListDel()
   virhostdev.c: remove missing PCI devs from hostdev manager

  include/libvirt/libvirt-nodedev.h  |  2 +-
  src/conf/domain_audit.c            |  6 +-
  src/datatypes.h                    |  2 +
  src/hypervisor/domain_driver.c     | 30 ++++++++++
  src/hypervisor/domain_driver.h     |  4 ++
  src/hypervisor/virhostdev.c        | 88 ++++++++++++++++++++++------
  src/hypervisor/virhostdev.h        |  2 +
  src/libvirt-nodedev.c              | 15 +++--
  src/libvirt_private.syms           |  3 +
  src/libxl/libxl_driver.c           | 87 ++++++++--------------------
  src/node_device/node_device_udev.c | 11 ++--
  src/qemu/qemu_cgroup.c             | 10 ++++
  src/qemu/qemu_domain_address.c     |  5 +-
  src/qemu/qemu_driver.c             | 81 +++++++-------------------
  src/security/security_apparmor.c   |  3 +-
  src/security/security_dac.c        | 61 ++++++++------------
  src/security/security_selinux.c    | 66 +++++++++------------
  src/security/virt-aa-helper.c      |  6 +-
  src/util/virnetdev.c               |  3 +-
  src/util/virnvme.c                 |  5 +-
  src/util/virpci.c                  | 93 ++++++++++++++----------------
  src/util/virpci.h                  | 14 ++---
  tests/virhostdevtest.c             |  3 +-
  tests/virpcitest.c                 | 35 ++++++++---
  tools/virsh-domain.c               | 18 ++----
  25 files changed, 325 insertions(+), 328 deletions(-)





[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