Re: [PATCH] vz: make it possible to use shared drivers API with vz driver connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
---
  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 = &parallelsHypervisorDriver;
-    if (virRegisterConnectDriver(&parallelsConnectDriver, false) < 0)
+    if (virRegisterConnectDriver(&parallelsConnectDriver, true) < 0)
          return -1;
- if (virRegisterConnectDriver(&vzConnectDriver, false) < 0)
+    if (virRegisterConnectDriver(&vzConnectDriver, true) < 0)
          return -1;
if (virRegisterStateDriver(&vzStateDriver) < 0)

ACK

Pushed. Thanks.

Maxim

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]