[libvirt] [RFC PATCH 0/4] Add new macro to check for existent server

Marcos Paulo de Souza posted 4 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180708010656.9047-1-marcos.souza.org@gmail.com
Test syntax-check passed
src/driver.h               | 9 +++++++++
src/esx/esx_driver.c       | 7 +------
src/hyperv/hyperv_driver.c | 7 +------
src/phyp/phyp_driver.c     | 6 +-----
4 files changed, 12 insertions(+), 17 deletions(-)

[libvirt] [RFC PATCH 0/4] Add new macro to check for existent server

Posted by Marcos Paulo de Souza 2 weeks ago
Hello,

I am trying to add a generic way to check for server, specially in drivers that
needs the server to be declared. If there is better way to put the check, or a
better way to check this setting, let me know.

Thanks in advance!

Marcos Paulo de Souza (4):
  driver.h: Add macro VIR_DRV_CONN_CHECK_SERVER
  esx_driver: Use VIR_DRV_CONN_CHECK_SERVER macro
  hyperv_driver: Use VIR_DRV_CONN_CHECK_SERVER macro
  phyp_driver: Use VIR_DRV_CONN_CHECK_SERVER macro

 src/driver.h               | 9 +++++++++
 src/esx/esx_driver.c       | 7 +------
 src/hyperv/hyperv_driver.c | 7 +------
 src/phyp/phyp_driver.c     | 6 +-----
 4 files changed, 12 insertions(+), 17 deletions(-)

-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list