15.04.2016 9:31, Nikolay Shirokovskiy пишет:
On 14.04.2016 20:48, Maxim Nestratov wrote:
> Since vz driver is now lives as a part of daemon we can benefit from
> this fact and allow vz clients to use shared drivers API like storage,
> network, nwfilter etc.
>
> Signed-off-by: Maxim Nestratov <mnestratov(a)virtuozzo.com>
> ---
> src/vz/vz_driver.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
> index d2bf54e..ffa6f45 100644
> --- a/src/vz/vz_driver.c
> +++ b/src/vz/vz_driver.c
> @@ -1696,10 +1696,10 @@ vzRegister(void)
> parallelsHypervisorDriver.name = "Parallels";
> parallelsConnectDriver = vzConnectDriver;
> parallelsConnectDriver.hypervisorDriver = ¶llelsHypervisorDriver;
> - if (virRegisterConnectDriver(¶llelsConnectDriver, false) < 0)
> + if (virRegisterConnectDriver(¶llelsConnectDriver, true) < 0)
> return -1;
>
> - if (virRegisterConnectDriver(&vzConnectDriver, false) < 0)
> + if (virRegisterConnectDriver(&vzConnectDriver, true) < 0)
> return -1;
>
> if (virRegisterStateDriver(&vzStateDriver) < 0)
>
ACK
Pushed. Thanks.
Maxim