Bug 1334958

Summary: RFC: domcaps: extend schema to support conditional enums
Product: [Community] Virtualization Tools Reporter: Cole Robinson <crobinso>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, dyuan, hhan, jdenemar, never
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-17 12:34:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cole Robinson 2016-05-10 23:11:48 UTC
The domain capabilities XML needs to be extended to handle conditional enums. Dan outlined a schema here:

http://www.redhat.com/archives/libvir-list/2016-May/msg00575.html
http://www.redhat.com/archives/libvir-list/2016-May/msg00624.html
http://www.redhat.com/archives/libvir-list/2016-May/msg00669.html

This will be needed if we want to expose things like graphics type=spice GL support, or controller type=usb models. I don't know if there's any truly pressing need at the moment, but this work may need to be prioritized in the future if any new feature becomes dependent on domcaps

Comment 2 Cole Robinson 2016-05-20 12:19:45 UTC
*** Bug 1337740 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Berrangé 2020-04-17 12:34:59 UTC
Adding conditional logic in the capabilities is quite a large burden to support and there's no sign of people wanting todo the work, so closing this RFE for now.