[PATCH 1/2] vz: build fix for passing qemuCaps to virDomainDeviceDefPostParse

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

 



Missing piece for [1].

[1] b449c2704: qemu: Pass correct qemuCaps to virDomainDeviceDefPostParse

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
---
 src/vz/vz_driver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index a4f6c39..536a992 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -1509,7 +1509,7 @@ static int vzDomainAttachDeviceFlags(virDomainPtr domain, const char *xml,
         goto cleanup;
 
     dev = virDomainDeviceDefParse(xml, dom->def, driver->caps,
-                                  driver->xmlopt, VIR_DOMAIN_XML_INACTIVE);
+                                  driver->xmlopt, NULL, VIR_DOMAIN_XML_INACTIVE);
     if (dev == NULL)
         goto cleanup;
 
@@ -1565,7 +1565,7 @@ static int vzDomainDetachDeviceFlags(virDomainPtr domain, const char *xml,
         goto cleanup;
 
     dev = virDomainDeviceDefParse(xml, dom->def, driver->caps,
-                                  driver->xmlopt,
+                                  driver->xmlopt, NULL,
                                   VIR_DOMAIN_XML_INACTIVE |
                                   VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE);
     if (dev == NULL)
@@ -1657,7 +1657,7 @@ static int vzDomainUpdateDeviceFlags(virDomainPtr domain,
         goto cleanup;
 
     if (!(dev = virDomainDeviceDefParse(xml, dom->def, driver->caps,
-                                        driver->xmlopt,
+                                        driver->xmlopt, NULL,
                                         VIR_DOMAIN_XML_INACTIVE)))
         goto cleanup;
 
-- 
1.8.3.1

--
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]

  Powered by Linux