Re: [libvirt] [RFC PATCH 1/4] driver.h: Add macro VIR_DRV_CONN_CHECK_SERVER

2018-07-09 Thread Marcos Paulo de Souza
On Mon, Jul 09, 2018 at 08:31:05AM +0200, Peter Krempa wrote: > On Sat, Jul 07, 2018 at 22:06:53 -0300, Marcos Paulo de Souza wrote: > > This new macro will check if the server was passed to connectOpen > > function. Some drivers as esx, hyperv and phyp need a server address to > > connect to. > >

Re: [libvirt] [RFC PATCH 1/4] driver.h: Add macro VIR_DRV_CONN_CHECK_SERVER

2018-07-09 Thread Peter Krempa
On Sat, Jul 07, 2018 at 22:06:53 -0300, Marcos Paulo de Souza wrote: > This new macro will check if the server was passed to connectOpen > function. Some drivers as esx, hyperv and phyp need a server address to > connect to. > > Signed-off-by: Marcos Paulo de Souza > --- > src/driver.h | 9

[libvirt] [RFC PATCH 1/4] driver.h: Add macro VIR_DRV_CONN_CHECK_SERVER

2018-07-07 Thread Marcos Paulo de Souza
This new macro will check if the server was passed to connectOpen function. Some drivers as esx, hyperv and phyp need a server address to connect to. Signed-off-by: Marcos Paulo de Souza --- src/driver.h | 9 + 1 file changed, 9 insertions(+) diff --git a/src/driver.h b/src/driver.h