Oved Ourfali has uploaded a new change for review. Change subject: core: USB policy template issues (#850719) ......................................................................
core: USB policy template issues (#850719) https://bugzilla.redhat.com/850719 Previous patch did some fixes for this issue, but one of the changes were accidently omitted. This patch contains the spec params fix for the USB controllers. Change-Id: I805e70f30a3b767814d7814c99e820b6de4e9e48 Signed-off-by: Oved Ourfali <oourf...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/01/7601/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java index 46caea0..b491421 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java @@ -153,6 +153,9 @@ if (ifaceCount < ifaces.size()) { id = ifaces.get(ifaceCount++).getId(); } + } else if (VmDeviceType.CONTROLLER.getName().equals(device.getType()) + && VmDeviceType.USB.getName().equals(device.getDevice())) { + specParams = device.getSpecParams(); } else if (VmDeviceType.VIDEO.getName().equals(device.getType())) { if (isVm) { // src is template and target is VM. video devices will be created according -- To view, visit http://gerrit.ovirt.org/7601 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I805e70f30a3b767814d7814c99e820b6de4e9e48 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Oved Ourfali <oourf...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches