Change in ovirt-engine[master]: userportal: show the correct VM's console type

tjelinek at redhat.com tjelinek at redhat.com
Thu Mar 7 08:20:57 UTC 2013


Tomas Jelinek has submitted this change and it was merged.

Change subject: userportal: show the correct VM's console type
......................................................................


userportal: show the correct VM's console type

The console type presented in VMs lists at the user-portal (basic +
extended) is based on the default display type defined for the VMs,
which is not always right because VM can be run in Run-Once mode
with a display type which is different from the default.

This patch ensure that the right console type is displayed for each VM
in the user portal by changing the way the console type is determined -
if the VM is running then we determine the console type according to the
actual display type (presented by the display type field in VmDynamic),
and according to the default display type, as before, only if the VM is
not running.

Change-Id: I312cfec646c276038669526140d75452bfed8267
Bug-Url: https://bugzilla.redhat.com/907776
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/userportal/IUserPortalListModel.java
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I312cfec646c276038669526140d75452bfed8267
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>



More information about the Engine-commits mailing list