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

Marcos Paulo de Souza marcos.souza.org at gmail.com
Sun Jul 8 01:06:52 UTC 2018


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




More information about the libvir-list mailing list