Bug 1319527 - RFE: Add API to list libvirt APIs implemented by the hypervisor driver
Summary: RFE: Add API to list libvirt APIs implemented by the hypervisor driver
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-20 22:24 UTC by Cole Robinson
Modified: 2021-08-18 09:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-18 09:58:40 UTC


Attachments (Terms of Use)

Description Cole Robinson 2016-03-20 22:24:44 UTC
There's no programmatic way for apps to determine if a libvirt HV driver supports a particular API or not. For example at the time of this writing the only libvirt driver that supports virDomainReset is qemu. If virt-manager wants to show the reset option for supported hypervisors we need to keep our own whitelist to track it (which we do, see https://github.com/virt-manager/virt-manager/blob/master/virtinst/support.py )

Libvirt should provide an API that at least tells us if the driver has an implementation or not. Eric spec'd it out briefly a while back:

https://www.redhat.com/archives/libvir-list/2014-September/msg01170.html

Comment 1 Daniel Berrangé 2021-08-18 09:58:40 UTC
Closing this RFE since there's no sign of anyone actively working on this in the 5 years since it was filed.


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