mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
5d325240c6
`virsh cpu-compare` and `virsh hypervisor-cpu-compare` both accept guest and host cpu definitions. This schema is able to validate both possibilities. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
13 lines
322 B
XML
13 lines
322 B
XML
<?xml version="1.0"?>
|
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
<include href="basictypes.rng"/>
|
|
<include href="cputypes.rng"/>
|
|
|
|
<start>
|
|
<choice>
|
|
<ref name="guestcpu"/>
|
|
<ref name="hostcpu"/>
|
|
</choice>
|
|
</start>
|
|
</grammar>
|