Shahar Havivi has uploaded a new change for review.

Change subject: engine: Set SinglePCI to false when importing VNC display
......................................................................

engine: Set SinglePCI to false when importing VNC display

When importing VM the OVF reader (which read from the export domain)
need  additional check to remove the default SinglePCI for VNC display.

Change-Id: I39c4d1dd45f3fa91b5fe3f0a7e786a26eb66fb29
Signed-off-by: Shahar Havivi <[email protected]>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfReader.java
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/45/25745/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfReader.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfReader.java
index 2ca2f0c..b50241e 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfReader.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfReader.java
@@ -409,7 +409,8 @@
             if (node != null) {
                 readOsSection(node);
                 if (!osRepository.isLinux(vmBase.getOsId())
-                        || !FeatureSupported.singleQxlPci(new 
Version(getVersion()))) {
+                        || !FeatureSupported.singleQxlPci(new 
Version(getVersion()))
+                        || vmBase.getDefaultDisplayType() != DisplayType.qxl) {
                     vmBase.setSingleQxlPci(false);
                 }
             }


-- 
To view, visit http://gerrit.ovirt.org/25745
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39c4d1dd45f3fa91b5fe3f0a7e786a26eb66fb29
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to