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