Bug 1273044
Summary: | VFIO: Snapshot of VM with GPU attached cannot be created. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Nisim Simsolo <nsimsolo> | ||||||
Component: | BLL.Virt | Assignee: | Martin Betak <mbetak> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.6.0.1 | CC: | bugs, mbetak, michal.skrivanek, mpoledni, nsimsolo, tjelinek | ||||||
Target Milestone: | ovirt-3.6.3 | Flags: | rule-engine:
ovirt-3.6.z+
rule-engine: planning_ack+ tjelinek: devel_ack+ rule-engine: testing_ack+ |
||||||
Target Release: | 3.6.3 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-02-18 11:01:17 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
Nisim Simsolo
2015-10-19 12:49:39 UTC
Created attachment 1084401 [details]
engine.log
Created attachment 1084402 [details]
vdsm.log
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. In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone. We should disable snapshots for VMs with non-USB hostdev assigned (as libvirt states). Moving to Martin as that is an engine request. Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA. Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA. Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA. Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA. Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA. Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA. moving back to on_qa with the correct target release Verified using builds: rhevm-3.6.3.1-0.1.el6 sanlock-3.2.4-1.el7.x86_64 libvirt-client-1.2.17-13.el7_2.2.x86_64 vdsm-4.17.20-0.el7ev.noarch qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64 Verification scenario: 1. Run VM with GPU attached and try to create a snapshot. Snapshot creation rejected by webadmin with the next error (dialog operation canceled message): "Error while executing action: 1_VFIO_rhel7_amd: Cannot create Snapshot. VM has PCI host devices attached." 2. Run VM with USB passthrough only and create a snapshot. Verify snapshot created and preview/commit/clone actions can be done on it. 3. Run VM with both PCI and USB devices attached to it. Try to create a snapshot. Verify snapshot creation rejected by webadmin, with the same error as in step 1. 4. Power off VM, detach all devices, run VM and create snapshot. Verify snapshot created and preview/commit/clone actions can be done on it. (In reply to Nisim Simsolo from comment #13) > 2. Run VM with USB passthrough only and create a snapshot. > Verify snapshot created and preview/commit/clone actions can be done on it. I don't think we could support USB passthrough operations. I think we lack the checks on resume/dst for the same host device Martin? @Michal: after discussion with mpolednik and libvirt devs this seems to be safe for the guest - the only risk would be that some pending writes may not be persisted for "stateful" devices (e.g. usb stick) but otherwise should be equivalent to "Not removing usb device safely" -> maybe worth a warning in the frontend. Otherwise the usb drivers/guest OSs seem to be quite used to this kind of plug-n-play behavior. |