[Libguestfs] [PATCH] Fix inspection code when PCRE or hivex is missing.

Richard W.M. Jones rjones at redhat.com
Thu Mar 3 13:24:15 UTC 2011


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
-------------- next part --------------
>From 2b26c7f721fc8ed2e6f64963289981ac286c02aa Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones at redhat.com>
Date: Thu, 3 Mar 2011 13:23:23 +0000
Subject: [PATCH] Fix inspection code when PCRE or hivex is missing.

---
 src/inspect.c |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/inspect.c b/src/inspect.c
index ac2050c..4986cac 100644
--- a/src/inspect.c
+++ b/src/inspect.c
@@ -2858,6 +2858,30 @@ guestfs__inspect_list_applications (guestfs_h *g, const char *root)
   NOT_IMPL(NULL);
 }
 
+char *
+guestfs__inspect_get_format (guestfs_h *g, const char *root)
+{
+  NOT_IMPL(NULL);
+}
+
+int
+guestfs__inspect_is_live (guestfs_h *g, const char *root)
+{
+  NOT_IMPL(-1);
+}
+
+int
+guestfs__inspect_is_netinst (guestfs_h *g, const char *root)
+{
+  NOT_IMPL(-1);
+}
+
+int
+guestfs__inspect_is_multipart (guestfs_h *g, const char *root)
+{
+  NOT_IMPL(-1);
+}
+
 #endif /* no PCRE or hivex at compile time */
 
 void
-- 
1.7.4



More information about the Libguestfs mailing list