[libvirt] [PATCH v2 0/9] PCI hostdev refactoring

Andrea Bolognani abologna at redhat.com
Mon Jan 25 16:20:55 UTC 2016


Changes in v2:

  * Internal functions operate on a single device, don't pass
    around device lists for no reason

  * Use virHostdev prefix for internal functions

  * Split off style adjustments and comments updated to separate
    patches

See the cover letter for v1[1] for details about the series.

Cheers.


[1] https://www.redhat.com/archives/libvir-list/2016-January/msg00835.html

Andrea Bolognani (9):
  hostdev: Add virHostdevOnlyReattachPCIDevice()
  hostdev: Use common reattach code to rollback prepare errors
  hostdev: Use common reattach code in virHostdevPCINodeDeviceReAttach()
  hostdev: Add virHostdevOnlyDetachPCIDevice()
  hostdev: Use common detach code in virHostdevPCINodeDeviceDetach()
  hostdev: Minor style adjustments
  hostdev: Update comments
  pci: Phase out virPCIDeviceReattachInit()
  pci: Add debug messages when unbinding from stub driver

 src/libvirt_private.syms |   1 -
 src/util/virhostdev.c    | 385 ++++++++++++++++++++++++++++++-----------------
 src/util/virpci.c        |  30 ++--
 src/util/virpci.h        |   1 -
 tests/virpcitest.c       |   5 +-
 5 files changed, 272 insertions(+), 150 deletions(-)

-- 
2.5.0




More information about the libvir-list mailing list