]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
parallels: increment the number of connection drivers
authorMaxim Nestratov <mnestratov@parallels.com>
Tue, 26 May 2015 17:12:00 +0000 (20:12 +0300)
committerDmitry Guryanov <dguryanov@parallels.com>
Wed, 3 Jun 2015 06:47:01 +0000 (09:47 +0300)
We need to do this because we have just added a vz driver.

Signed-off-by: Maxim Nestratov <mnestratov@parallels.com>
src/libvirt.c

index c8a58341ae9c99d6e480da39536c20fde9a875a8..fe62faa9615987ee6fe7d2c6e1b1bc4c22f0cf12 100644 (file)
@@ -109,7 +109,7 @@ VIR_LOG_INIT("libvirt");
  * - use reference counting to guarantee coherent pointer state ?
  */
 
-#define MAX_DRIVERS 20
+#define MAX_DRIVERS 21
 
 static virConnectDriverPtr virConnectDriverTab[MAX_DRIVERS];
 static int virConnectDriverTabCount;