Bug 1261110

Summary: VFIO/hostdev_passthrough: Migrate VM option should be grayed out when there is host device attached to VM.
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: Frontend.WebAdminAssignee: Martin Betak <mbetak>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: low    
Version: ---CC: bugs, ecohen, gklein, lsurette, michal.skrivanek, nsimsolo, oourfali, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-21 11:35:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
webadmin screenshot none

Description Nisim Simsolo 2015-09-08 15:21:43 UTC
Description of problem:
When attaching host device to VM, migrate VM option should be grayed out on this VM.

Version-Release number of selected component (if applicable):
rhevm-3.6.0-0.13.master.el6
sanlock-3.2.4-1.el7.x86_64
qemu-kvm-rhev-2.3.0-22.el7.x86_64
vdsm-4.17.5-1.el7ev.noarch
libvirt-client-1.2.17-5.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Navigate to virtual machines tab -> host device sub tab -> click on add device.
2. attach device to VM.
3. right click on VM or select VM.

Actual results:
"Migrate" option is available instead of being grayed out.

Expected results:
Migrate option should be grayed out.

Additional info:
Screenshot attached

Comment 1 Nisim Simsolo 2015-09-08 15:23:28 UTC
Created attachment 1071392 [details]
webadmin screenshot

Comment 2 Oved Ourfali 2015-09-09 06:35:48 UTC
Nisim - any reason not to put "virt" in whiteboard when opening virt bugs?

Comment 3 Red Hat Bugzilla Rules Engine 2015-11-30 20:59:43 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Michal Skrivanek 2016-01-21 11:35:54 UTC
Implementing a special case for host devices only doesn't bring much benefits.
As a generic case - the decision whether the VM can be migrated anywhere or not is done inside scheduling module, and it is a heavy operation.