Shahar Havivi has uploaded a new change for review.

Change subject: Webadmin: set default single Qxl device to true
......................................................................

Webadmin: set default single Qxl device to true

Change-Id: I285855f3a6975c97b1350d3de18b7395b2322aef
Bug-Url: https://bugzilla.redhat.com/1000039
Signed-off-by: Shahar Havivi <shav...@redhat.com>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/40/18640/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
index a3504d4..a4f2554 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
@@ -72,7 +72,7 @@
     private int numOfMonitors;
 
     @EditableOnVmStatusField
-    private boolean singleQxlPci = false;
+    private boolean singleQxlPci = true;
 
     @EditableField
     @Size(max = BusinessEntitiesDefinitions.GENERAL_DOMAIN_SIZE)
diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
index 16d18b6..294e25b 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
@@ -1315,7 +1315,7 @@
         getIsSoundcardEnabled().setIsChangable(false);
 
         setIsSingleQxlEnabled(new NotChangableForVmInPoolEntityModel());
-        getIsSingleQxlEnabled().setEntity(false);
+        getIsSingleQxlEnabled().setEntity(true);
     }
 
     public void initialize(SystemTreeItemModel SystemTreeSelectedItem)
@@ -1333,7 +1333,7 @@
         getIsHighlyAvailable().setEntity(false);
         getIsAutoAssign().setEntity(true);
         getIsTemplatePublic().setEntity(true);
-        getIsSingleQxlEnabled().setEntity(false);
+        getIsSingleQxlEnabled().setEntity(true);
 
         getHostCpu().setEntity(false);
         getMigrationMode().setIsChangable(true);


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I285855f3a6975c97b1350d3de18b7395b2322aef
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shav...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to