diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-06-27 15:27:46 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-28 18:41:54 +0100 |
commit | 7f16c346bbeba2f2fe3c31ccb85158178a284d84 (patch) | |
tree | 6d69f6b20598b05e8aa6eabeba96c40ade38f9f7 /inspector/virt-inspector.rng | |
parent | 5f26270c343bf543a7bf20cf3e6f182f6282f8ea (diff) | |
download | libguestfs-7f16c346bbeba2f2fe3c31ccb85158178a284d84.tar.gz libguestfs-7f16c346bbeba2f2fe3c31ccb85158178a284d84.tar.xz libguestfs-7f16c346bbeba2f2fe3c31ccb85158178a284d84.zip |
New API: inspect-get-icon returns the guest icon.
This API returns the guest's favicon if found, else an icon
representing the guest operating system. Currently supported by this
patch: Fedora, RHEL and derivatives, Debian (but not Ubuntu),
Windows XP, Windows 7.
This also updates virt-inspector to include an <icon> element
containing the icon in base64 encoding.
Diffstat (limited to 'inspector/virt-inspector.rng')
-rw-r--r-- | inspector/virt-inspector.rng | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inspector/virt-inspector.rng b/inspector/virt-inspector.rng index 480467ed..4fd208a3 100644 --- a/inspector/virt-inspector.rng +++ b/inspector/virt-inspector.rng @@ -1,4 +1,6 @@ -<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<grammar + xmlns="http://relaxng.org/ns/structure/1.0" + datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> <!-- -*- xml -*- This is a RELAX NG schema for the output of 'virt-inspector'. @@ -51,6 +53,8 @@ <optional><ref name="drive_mappings"/></optional> <optional><ref name="applications"/></optional> + <optional><element name="icon"><data type="base64Binary"/></element></optional> + </interleave> </element> </oneOrMore> |