Re: [libvirt] [PATCH 3/8] util: Convert virStoragePoolSourceAdapter to virStorageAdapter

2017-02-27 Thread John Ferlan
On 02/27/2017 10:36 AM, Michal Privoznik wrote: > On 20.02.2017 14:18, John Ferlan wrote: >> Introduce src/util/virstoragedevice.{c,h}. Rather than have virstoragefile >> be a repository for more things - create a new module to share the adapter >> definitions between the storage pool and

Re: [libvirt] [PATCH 3/8] util: Convert virStoragePoolSourceAdapter to virStorageAdapter

2017-02-27 Thread Michal Privoznik
On 20.02.2017 14:18, John Ferlan wrote: > Introduce src/util/virstoragedevice.{c,h}. Rather than have virstoragefile > be a repository for more things - create a new module to share the adapter > definitions between the storage pool and eventually the domain. The devices > will need device address

[libvirt] [PATCH 3/8] util: Convert virStoragePoolSourceAdapter to virStorageAdapter

2017-02-20 Thread John Ferlan
Introduce src/util/virstoragedevice.{c,h}. Rather than have virstoragefile be a repository for more things - create a new module to share the adapter definitions between the storage pool and eventually the domain. The devices will need device address functions (no need to pollute more code for