search for: find_enum

Displaying 3 results from an estimated 3 matches for "find_enum".

Did you mean: find_elem
2019 Jul 01
0
[PATCH 1/6] p2v: move kernel config to perl script
...; +EOF + + generate_field_print($fh, undef, "c->", @fields); + + print $fh <<"EOF"; +} +EOF +} + +sub find_alias { + my $name = shift; + foreach my $alias (@cmdline_aliases) { + if ($name eq @$alias[0]) { + return @$alias[1]; + } + } + return; +} + +sub find_enum { + my $name = shift; + foreach my $enum (@enums) { + my $n = shift @$enum; + if ($n eq $name) { + return @$enum; + } + } + return; +} + +sub generate_field_config { + my ($fh, $prefix, $v, $fields) = @_; + + foreach my $field (@$fields) { + my $type = ref($field); + if ($...
2019 Jul 01
8
[PATCH 0/6] p2v: start making it independent
As preliminary steps in splitting virt-p2v to an own repository, start making p2v more independent within libguestfs. This is accomplished by the following changes: - generate the p2v kernel config sources & docs at build time using a Perl script, rather than the generator (so no need for OCaml when building from git, and no generated sources in dist tarballs) - create two local test
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am