[libvirt] [PATCH 6/6] Add canonical machine name to capabilities output

Mark McLoughlin markmc at redhat.com
Mon Jul 27 14:30:01 UTC 2009


On Mon, 2009-07-27 at 15:45 +0200, Daniel Veillard wrote:
> On Thu, Jul 23, 2009 at 06:34:44PM +0100, Mark McLoughlin wrote:
> > e.g. <machine canonical='pc'>pc-0.11</machine>
> > 
> > * src/capabilities.c: output the canonical machine names in the
> >   capabilities output, if available
> 
>   ACK, but this is missing the rng extention and the documentation for
>   the extension,

Right, patch below to add it to the rng, but the capabilities docs needs
a good bit of work before adding docs on this little piece wouldn't seem
so much out of date - e.g. they're mostly about xen and not very
specific.

Cheers,
Mark.

diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng
index f085e55..775bbdb 100644
--- a/docs/schemas/capability.rng
+++ b/docs/schemas/capability.rng
@@ -196,6 +196,11 @@
 
   <define name='machine'>
     <element name='machine'>
+      <optional>
+        <attribute name='canonical'>
+          <text/>
+        </attribute>
+      </optional>
       <text/>
     </element>
   </define>





More information about the libvir-list mailing list