Omer Frenkel has submitted this change and it was merged.
Change subject: core: add missing sound card for imported vm
......................................................................
core: add missing sound card for imported vm
This patch solves a bug in which when importing desktop vm that doesn't
have sound card device (which is the case when importing vm that was
created in 3.0 for example), the resulting vm won't have sound device.
The solution is to check the imported vm and if it is desktop vm and it
doesn't have sound device, we add sound device to it.
Change-Id: I295d158f014f865be5a03f630ce48ba446752e5e
Bug-Url:
https://bugzilla.redhat.com/955498
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java
1 file changed, 24 insertions(+), 8 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/14607
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I295d158f014f865be5a03f630ce48ba446752e5e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>