Re: [libvirt] [PATCH v4 3/9] util: Management routines for scsi_host devices

2016-11-22 Thread John Ferlan
[...] > + > +/* For virReportOOMError() and virReportSystemError() */ > +#define VIR_FROM_THIS VIR_FROM_NONE > + Made a minor adjustment to move this above the VIR_LOG_INIT - it's just cosmetic... [...] > +virSCSIVHostDevicePtr > +virSCSIVHostDeviceNew(const char *name) > +{ > +virSCSIVHos

[libvirt] [PATCH v4 3/9] util: Management routines for scsi_host devices

2016-11-21 Thread Eric Farman
For a new hostdev type='scsi_host' we have a number of required functions for managing, adding, and removing the host device to/from guests. Provide the basic infrastructure for these tasks. The name "SCSIVHost" (and its variants) is chosen to avoid conflicts with existing code named "SCSIHost" t