RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1972586 - RFE: Support XMLs validation flags for the APIs of creation or definition
Summary: RFE: Support XMLs validation flags for the APIs of creation or definition
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libvirt
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: beta
: ---
Assignee: khanicov
QA Contact: Han Han
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-16 09:45 UTC by Han Han
Modified: 2022-10-03 10:53 UTC (History)
6 users (show)

Fixed In Version: libvirt-7.8.0-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-03 10:40:18 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-84118 0 None None None 2022-10-03 10:53:02 UTC

Description Han Han 2021-06-16 09:45:42 UTC
Description of problem:
Currently these XML validation flags are supported:
VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE_VALIDATE
VIR_DOMAIN_START_VALIDATE
VIR_DOMAIN_DEFINE_VALIDATE
VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE
VIR_CONNECT_COMPARE_CPU_VALIDATE_XML

However libvirt has APIs to create or define the XMLs of network, nodedev, nwfilter, interface, networkport, secret, storagepool, storagevol. The XML validation flags could be added for these APIs, too.

Comment 2 khanicov 2022-09-30 12:18:08 UTC
Moving this to POST because the validate option was added almost to all the APIs where it was possible.

Relevant commits merged in the upstream:
a3d88c9d
ec5561c0
7e7747cc
5ca09c6b
6779fca4
8f8eeb37
4d31c02f

Comment 3 Jiri Denemark 2022-10-03 10:40:18 UTC
This was all implemented more than a year ago and thus it is already present in RHEL-9 since 9.0.0.


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