Richard W.M. Jones
2011-Mar-03 13:24 UTC
[Libguestfs] [PATCH] Fix inspection code when PCRE or hivex is missing.
-- 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 2001From: 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
Jim Meyering
2011-Mar-03 14:23 UTC
[Libguestfs] [PATCH] Fix inspection code when PCRE or hivex is missing.
Richard W.M. Jones wrote:> Subject: [PATCH] Fix inspection code when PCRE or hivex is missing. > > --- > src/inspect.c | 24 ++++++++++++++++++++++++ > 1 files changed, 24 insertions(+), 0 deletions(-)ACK. that solved my build problem. Thanks.> 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
Maybe Matching Threads
- [PATCH 0/4] Add hivex APIs into the libguestfs API (RHBZ#852394)
- [PATCH 0/2] Change guestfs__*
- [PATCH 0/2] New inspect_list_applications2 API
- [PATCH 1/9] Partially fix --disable-erlang
- [PATCH] inspection: Set last errno to ENOTSUP when inspection APIs are not available.