[libvirt] [PATCH 3/5] Parallels: Add video acceleration parameter change ignore.

Alexander Burluka aburluka at parallels.com
Wed Aug 20 15:33:07 UTC 2014


As long as OpenStack's Nova does not know anything about
video card acceleration, 2D and 3D acceleration parameters
are unset in input XML generated by Nova. Any change of
these parameters is ignored now.
---
 src/parallels/parallels_driver.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c
index 3806e5e..c19aa96 100644
--- a/src/parallels/parallels_driver.c
+++ b/src/parallels/parallels_driver.c
@@ -1621,10 +1621,8 @@ parallelsApplyVideoParams(parallelsDomObjPtr pdom,
         old->accel->support2d != new->accel->support2d ||
         old->accel->support3d != new->accel->support3d) {
 
-        virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
-                   _("Changing video acceleration parameters is "
-                     "not supported by parallels driver"));
-        return -1;
+        VIR_WARN("Changing video acceleration parameters is "
+                     "not supported by parallels driver");
     }
 
     if (old->vram != new->vram) {
-- 
1.9.1




More information about the libvir-list mailing list