Bug 1231808 - REST API for host device passthrough
Summary: REST API for host device passthrough
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Martin Betak
QA Contact: Nisim Simsolo
URL: http://www.ovirt.org/Features/hostdev...
Whiteboard:
Depends On: 825045
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-15 12:37 UTC by Michal Skrivanek
Modified: 2016-04-20 01:10 UTC (History)
15 users (show)

Fixed In Version: 3.6.0-4 alpha3
Doc Type: Bug Fix
Doc Text:
Clone Of: 825045
Environment:
Last Closed: 2016-04-20 01:10:12 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 35975 0 master MERGED restapi: Add Host Device Passthrough support Never

Description Michal Skrivanek 2015-06-15 12:37:22 UTC
REST API for host device passthrough (PCI, USB) is currently missing

Comment 1 Karen Noel 2015-06-15 15:17:49 UTC
Is this for device passthrough or PCI device assignment? Or both? What libvirt APIs or XML are used? Thanks.

Comment 2 Martin Polednik 2015-06-16 11:01:04 UTC
It is for both as the feature "host device passthrough" currently means pci and usb passthrough. Libvirt's virNodeDevice is used for device manipulation and "hostdev" XML element is used for the device itself.

Comment 3 Nisim Simsolo 2015-11-18 15:38:27 UTC
Verified using build: rhevm-3.6.0.3-0.1.el6 (3.6.0-20)
Verification scenario: 
1. Get host devices.
2. Get specific host device.
3. Post host devices to VM, run VM and verify devices are attached.
4. Get VM attached host devices.
5. Verify VM host device cannot be deleted when VM is running.
6. Power off VM and delete host devices.

Test plan added to external tracker.


Note You need to log in before you can comment on or make changes to this bug.