search for: erl_interfac

Displaying 20 results from an estimated 24 matches for "erl_interfac".

Did you mean: erl_interface
2020 Jun 01
1
[PATCH] erlang: Port to libei for Erlang 23
From: Sergei Golovan <sgolovan@gmail.com> Replace the use of liberl_interface, which is removed in Erlang 23, by libei. The implementation uses the ei_decode_iodata() function which has been introduces only for Erlang 23, so it doesnt work with earlier Erlang versions. --- erlang/Makefile.am | 1 - erlang/main.c | 312 +++++++++++++++++++++++++-------------------...
2017 Mar 03
1
[PATCH] erlang: Rename 'message' to something less generic.
...nt64 (ETERM *term); List.iter ( fun { name = name } -> - pr "ETERM *run_%s (ETERM *message);\n" name + pr "ETERM *run_%s (ETERM *args_tuple);\n" name ) (actions |> external_functions |> sort); pr "\n"; @@ -355,7 +355,7 @@ instead of erl_interface. c_function = c_function; c_optarg_prefix = c_optarg_prefix } -> pr "\n"; pr "ETERM *\n"; - pr "run_%s (ETERM *message)\n" name; + pr "run_%s (ETERM *args_tuple)\n" name; pr "{\n"; iteri ( @@ -5...
2017 Jun 15
0
[PATCH v6 11/41] utils: Rename ‘guestfs-internal-frontend.h’ to ‘utils.h’.
...ommon/utils/guestfs-internal-frontend.h common/utils/utils.c +common/utils/utils.h common/visit/visit.c common/visit/visit.h common/windows/windows.c diff --git a/erlang/main.c b/erlang/main.c index 54df4822f..4e22e3aa0 100644 --- a/erlang/main.c +++ b/erlang/main.c @@ -36,7 +36,7 @@ instead of erl_interface. #include "full-write.h" #include "guestfs.h" -#include "guestfs-internal-frontend.h" +#include "utils.h" guestfs_h *g; diff --git a/fish/fish.h b/fish/fish.h index df22e34e7..b858b9bf1 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -21,7 +21,7 @@...
2017 Jun 19
0
[PATCH v7 12/13] utils: Rename ‘guestfs-internal-frontend.h’ to ‘guestfs-utils.h’.
...ps.h -common/utils/guestfs-internal-frontend.h +common/utils/guestfs-utils.h common/utils/libxml2-cleanups.c common/utils/utils.c common/visit/visit.c diff --git a/erlang/main.c b/erlang/main.c index 54df4822f..bfb268647 100644 --- a/erlang/main.c +++ b/erlang/main.c @@ -36,7 +36,7 @@ instead of erl_interface. #include "full-write.h" #include "guestfs.h" -#include "guestfs-internal-frontend.h" +#include "guestfs-utils.h" guestfs_h *g; diff --git a/fish/fish.h b/fish/fish.h index df22e34e7..c610a0a2f 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -21,7 +21...
2012 Jan 22
1
Packaging GObject for Fedora (was: [rjones@fedoraproject.org: New upstream version 1.15.19.])
...e: libguestfs Epoch: 1 -Version: 1.15.18 +Version: 1.15.19 Release: 1%{?dist} License: LGPLv2+ Group: Development/Libraries @@ -202,6 +208,9 @@ BuildRequires: java-devel BuildRequires: php-devel BuildRequires: erlang-erts BuildRequires: erlang-erl_interface +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: gjs # For libguestfs-tools: BuildRequires: perl-Sys-Virt @@ -272,6 +281,9 @@ To mount guest filesystems on the host using FUSE, install For Erlang bindings, install 'erlang-libguestfs'. +For GO...
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file into smaller files, using the m4_include mechanism to combine them. I don't know if we should really do this, so I'm open to comments about it. However: - Our configure.ac script is 1800+ lines long, and that's pretty long. - configure.ac lacks structure; splitting it up might improve that. - From what I read,
2020 Mar 10
2
ANNOUNCE: libguestfs 1.42 - tools for accessing and modifying virtual machine disk images
...rashes in the Python bindings (Sam Eiderman). OCaml bindings are compiled with "-DCAML_NAME_SPACE" to ensure no non-caml_-namespaced symbols are used (Pino Toscano). OCaml bindings should now work with OCaml 4.09 and 4.10. Erlang has deprecated the old "erl_interface" library which we use for Erlang bindings. It will be removed in OTP 22, which will permanently break Erlang support unless someone steps forward to update the Erlang bindings in libguestfs. Fix compatibility with newer cgo for Go bindings (Tomáš Golembiovský)....
2014 May 29
3
Re: libguestfs error
...y checking for rake... no checking for C library for Ruby extensions... -lruby-1.9.1 checking for ruby_init in -lruby-1.9.1... no checking for ghc... no checking for php... php checking for phpize... no checking for erlc... /usr/bin/erlc checking for erl... /usr/bin/erl checking for Erlang/OTP 'erl_interface' library subdirectory... /usr/lib/erlang/lib/erl_interface-3.7.13 checking for Erlang/OTP 'erl_interface' library version... 3.7.13 checking for erlc... /usr/bin/erlc checking for erl... /usr/bin/erl checking for Erlang/OTP library base directory... /usr/lib/erlang/lib checking for lua...
2014 May 29
2
Re: libguestfs error
Hi Rich Yes Rich I have tried libguesftfs on powerpc and it was working fine.For some reason i had to format my hard disk and now when I'm again compiling it,I'm getting following error.... Below is the status of configure .. This is how we have configured the optional components for you today: Daemon .............................. yes Appliance ........................... yes QEMU
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
...List.iter ( fun arg -> - pr ", %s" (String.capitalize (name_of_argt arg)) + pr ", %s" (String.capitalize_ascii (name_of_argt arg)) ) args; pr ").\n" ) @@ -404,7 +405,7 @@ instead of erl_interface. List.iter ( fun argt -> let n = name_of_optargt argt in - let uc_n = String.uppercase n in + let uc_n = String.uppercase_ascii n in pr " if (atom_equals (hd_name, \"%s\")) {\n" n; pr "...
2017 Oct 04
0
[PATCH 2/9] ocaml: Replace pattern matching { field = field } with { field }.
...-228,7 +228,7 @@ extern int64_t get_int64 (ETERM *term); pr "\n"; List.iter ( - fun { name = name } -> + fun { name } -> pr "ETERM *run_%s (ETERM *args_tuple);\n" name ) (actions |> external_functions |> sort); @@ -351,8 +351,8 @@ instead of erl_interface. (* The wrapper functions. *) List.iter ( - fun { name = name; style = (ret, args, optargs as style); - c_function = c_function; c_optarg_prefix = c_optarg_prefix } -> + fun { name; style = (ret, args, optargs as style); + c_function; c_optarg_prefix } ->...
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings: Patches 1-12 split configure.ac into smaller files using the m4_include mechanism. Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into three new manual pages: guestfs-hacking(3) - how to extend and contribute to libguestfs guestfs-internals(3) - architecture and internals guestfs-security(3) - security and CVEs Patch 16 is a
2017 Jun 19
16
[PATCH v7 00/13] Refactor utilities
This is just the utilities part of the patch series from: https://www.redhat.com/archives/libguestfs/2017-June/msg00103.html I believe this addresses everything raised in comments on that patch series. Rich.
2017 Oct 04
11
[PATCH 0/9] build: Require OCaml >= 4.02.
Per my previous email: https://www.redhat.com/archives/libguestfs/2017-September/msg00203.html I'd like to talk about requiring a more modern version of the OCaml compiler. These commits show some of the code changes which would be possible with OCaml >= 3.12 [which it turns out we already require by accident] and also with OCaml >= 4.02. The latter is my favoured option. Rich.
2017 Jun 09
12
[PATCH 00/12] Refactor utility functions.
This turned out to be rather more involved than I thought. We have lots of utility functions, spread all over the repository, with not a lot of structure. This moves many of them under common/ and structures them so there are clear dependencies. This doesn't complete the job by any means. Other items I had on my to-do list for this change were: - Split up mllib/common_utils into: -
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...gt; false) args in if no_reply then pr " /* do_%s has already sent a reply */\n" name else ( diff --git a/generator/erlang.ml b/generator/erlang.ml index d0d219805..602380966 100644 --- a/generator/erlang.ml +++ b/generator/erlang.ml @@ -361,13 +361,7 @@ instead of erl_interface. iteri ( fun i -> function - | Pathname n - | Device n | Mountable n | Dev_or_Path n | Mountable_or_Path n - | String n - | FileIn n - | FileOut n - | Key n - | GUID n -> + | String (_, n) -&gt...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2017 Jun 12
32
[PATCH v5 00/32] Refactor utilities, implement some APIs in OCaml.
This is a combination of: https://www.redhat.com/archives/libguestfs/2017-June/msg00046.html [PATCH 00/12] Refactor utility functions. plus: https://www.redhat.com/archives/libguestfs/2017-June/msg00023.html [PATCH v3 00/19] Allow APIs to be implemented in OCaml. with the second patches rebased on top of the utility refactoring, and some other adjustments and extensions. This passes
2017 Jun 15
45
[PATCH v6 00/41] Refactor utilities, reimplement inspection in the daemon.
v5: https://www.redhat.com/archives/libguestfs/2017-June/msg00065.html Since v5, this now implements inspection almost completely for Linux and Windows guests. Rich.
2017 Jul 07
2
[PATCH v2] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information: https://bugzilla.redhat.com/show_bug.cgi?id=1350465 Thanks: Tomáš Golembiovský --- v2v/virt-v2v.pod | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod index e68d75cf8..0943bf305 100644 --- a/v2v/virt-v2v.pod +++ b/v2v/virt-v2v.pod @@ -1909,18 +1909,32 @@ that