summaryrefslogtreecommitdiffstats
path: root/src/guestfs-internal.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-06-27 15:27:46 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-06-28 18:41:54 +0100
commit7f16c346bbeba2f2fe3c31ccb85158178a284d84 (patch)
tree6d69f6b20598b05e8aa6eabeba96c40ade38f9f7 /src/guestfs-internal.h
parent5f26270c343bf543a7bf20cf3e6f182f6282f8ea (diff)
downloadlibguestfs-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 'src/guestfs-internal.h')
-rw-r--r--src/guestfs-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index 0650eb29..96f81525 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -89,6 +89,9 @@
*/
#define MAX_PKG_DB_SIZE (300 * 1000 * 1000)
+/* Maximum size of Windows explorer.exe. 2.6MB on Windows 7. */
+#define MAX_WINDOWS_EXPLORER_SIZE (4 * 1000 * 1000)
+
/* Network configuration of the appliance. Note these addresses are
* only meaningful within the context of the running appliance. QEMU
* translates network connections to these magic addresses into