[libvirt PATCH v2 0/5] mdev tweaks

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

 



A few minor fixes to mdev support in the nodedev driver

Changes in v2:
 - split out the error-reporting macro into a separate commit as recommended by Peter
 - Since virCommandRun() may report an error, ensure that the
   virMdevctl$COMMAND() functions always set an error to make error-handling
   consistent. v1 tried to return an error message and have the caller report
   the error.
 - Added a new patch (destroying inactive device)

Jonathon Jongsma (5):
  nodedev: Remove useless device name from error message
  nodedev: Handle NULL command variable
  nodedev: add macro to handle command errors
  nodedev: handle mdevctl errors consistently
  nodedev: improve error message when destroying an inactive device

 src/node_device/node_device_driver.c | 147 +++++++++++++++++----------
 1 file changed, 94 insertions(+), 53 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