mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
vz: make it possible to use shared drivers API with vz driver connection
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@virtuozzo.com>
This commit is contained in:
parent
8b62c65d24
commit
9e783db282
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user