Bug 757097
| Summary: | virt-xml-validate fails for VirtualBox domain | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Lorin Hochstein <lorinh> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | crobinso, dallan, eblake, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-28 16:23:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Lorin Hochstein
2011-11-25 13:30:49 UTC
Looks like the issue is in docs/schemas/domaincommon.rng, there is no vbox option:
<define name="hvs">
<attribute name="type">
<choice>
<value>xen</value>
<value>kvm</value>
<value>kqemu</value>
<value>qemu</value>
<value>lxc</value>
<value>openvz</value>
<value>test</value>
</choice>
</attribute>
</define>
Lorin, you should mention this on the libvirt upstream list as well, if you haven't already. I'm not sure how much attention the people who work on the vbox driver pay to bugzilla. (In reply to comment #2) > Lorin, you should mention this on the libvirt upstream list as well, if you > haven't already. I'm not sure how much attention the people who work on the > vbox driver pay to bugzilla. Thanks for the heads-up, Dave. I posted it here: https://www.redhat.com/archives/libvir-list/2011-November/msg01501.html Now committed:
commit 8078a90a24fc9bb4dd0aa8bfd3fde15fe5f3d149
Author: Lorin Hochstein <lorin>
Date: Mon Nov 28 09:26:57 2011 -0500
conf: make virt-xml-validate work with vbox domains
virt-xml-validate fails when run on a domain XML file of type 'vbox'.
For failing test case, see https://bugzilla.redhat.com/show_bug.cgi?id=757097
This patch updates the XML schema to accept all valid hypervisor
types, as well as dropping hypervisor types that are not in use
by the current code base.
Signed-off-by: Eric Blake <eblake>
|