summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvmi
Commit message (Collapse)AuthorAgeFilesLines
* recipes/classes/scripts: Drop SRCPV usageBruce Ashfield2023-08-241-1/+1
| | | | | | | | | bitbake has been enhanced such that SRCPV is no longer needed in PV to handle updating git hashes and task signatures. We can simplify our PV by dropping SRCPV Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: add dependency on autoconf-archive-nativeMartin Jansa2023-06-151-1/+1
| | | | | | | | | | | | * since https://git.openembedded.org/openembedded-core/commit/?id=571132415ea7fe2d91c62948f2b6aa553eafa83d this doesn't get autoconf-archive-native dependency and fails with: http://errors.yoctoproject.org/Errors/Details/708195/ ./configure: line 14424: syntax error near unexpected token `-fno-strict-overflow,' ./configure: line 14424: ` AX_CHECK_COMPILE_FLAG(-fno-strict-overflow, HARDEN_CFLAGS="$HARDEN_CFLAGS -fno-strict-overflow", , -Werror )' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: add dependency on flex-native and bison-native instead of byacc-nativeMartin Jansa2023-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fails to build with byacc-native 20230219 from: https://git.openembedded.org/meta-openembedded/commit/?id=3462709d651f44f3d067b3ce0bcfba876be9ff1d * https://invisible-island.net/byacc/CHANGES.html#index-t20230219 says: provide for a named union, e.g., "%union foo" by detecting the name and deferring the typedef in that case until the end of copying the union definition (report by Dag-Erling Smørgrav). which in this case leads to this diff (compared to byacc 20230201): --- 0.14.0+gitAUTOINC+41600b6028-r0-byacc_20230201/git/libvmi/config/grammar.c 2023-05-03 07:44:51.694234317 +0000 +++ 0.14.0+gitAUTOINC+41600b6028-r0-byacc_20230219/git/libvmi/config/grammar.c 2023-05-03 07:37:14.177205785 +0000 @@ -5,7 +5,7 @@ #define YYBYACC 1 #define YYMAJOR 2 #define YYMINOR 0 -#define YYPATCH 20230201 +#define YYPATCH 20230219 #define YYEMPTY (-1) #define yyclearin (yychar = YYEMPTY) @@ -273,7 +273,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 249 "libvmi/config/grammar.y" -typedef union YYSTYPE{ +typedef union YYSTYPE�(�o&V{ char *str; } YYSTYPE; #endif /* !YYSTYPE_IS_DECLARED */ * and the unicode chars after YYSTYPE lead to: http://errors.yoctoproject.org/Errors/Details/702745/ libvmi/config/grammar.y:249:22: error: stray '\370' in program 249 | %union{ | ^ libvmi/config/grammar.y:249:25: error: expected ')' before '+' token 249 | %union{ | ^ | ) libvmi/config/grammar.y:249:26: error: stray '\3' in program 249 | %union{ | ^ make[1]: *** [Makefile:1997: libvmi/config/libconfig_la-grammar.lo] Error 1 * bison-native works fine, so use that for now * I've reported this issue to byacc author over e-mail Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: Fix out of box build failure with xen disabledHe Zhe2022-04-132-0/+77
| | | | | | | | | | vbd was added for xen based VMs since bdee00fac9b4 ("Disk reading interface for Xen based VMs and example") and should be built only when xen is enabled, otherwise there would not be necessary xen headers and cause the following failure. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: update to 0.14-tipBruce Ashfield2022-03-291-2/+2
| | | | | | | | Bumping libvmi to version v0.10-1073-g41600b6, which comprises the following commits: 41600b6 Actually define __XS_EVENT_REASON_MAX (#1016) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: update licence values to SPDX valuesBruce Ashfield2022-02-181-1/+1
| | | | | | | | | | These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: add explicit branch to all SRC_URIsBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | | | | As introduced in the oe-core post: https://lists.openembedded.org/g/openembedded-core/message/157623 SRC_URIs without an explicit branch will generate warnings, and eventually be an error. We run the provided conversion script to make sure that meta-virt is ready for the change. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: upadte to 0.14.0Bruce Ashfield2021-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Integrating the following commits: 3f5b0d5 Wire up cpuid events on kvmi (#975) 8cdef96 Clear up event example even more (#974) 548da8d Simplify event-example (#973) cffe055 Clean up on partial init failure (#972) fb2e006 Add snapcraft.yaml (#961) 582fc95 Add vmtrace (IPT) buffer offset to vm_event ABI (#960) 8b88b72 Turn on all debug options for scan-build test (#959) 719d90f Debug print in volatility_ist can segfault, fix (#958) 19379a9 Remove temp file accidentaly added to git (#957) f686145 Nested support (#956) 6d65cc3 Add AC_PROG_CC_C99 to configure.ac (#955) e21df55 Add more files to gitignore (#954) d9e490e Container build test (#953) c68d899 Switch to using Github Actions for CI (#952) 6d07174 Bump version to 0.15.0 (odd-numbered dev version) (#951) 1ae3950 examples: fix reinjection in breakpoint-recoil-example (#945) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: uprev from 0.12 to 0.14Zqiang2021-03-301-1/+2
| | | | | | | | Bump version to 0.14. This upgrade is mainly to fix some BUG. Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: add byacc-native to the DEPENDSBruce Ashfield2018-11-161-1/+1
| | | | | | | libvmi is looking for yacc during configuration, so we must add it to our DEPENDS as a native tool. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvmi: add a new recipeHongzhi.Song2018-07-261-0/+41
LibVMI is a C library with Python bindings that makes it easy to monitor the low-level details of a running virtual machine by viewing its memory, trapping on hardware events, and accessing the vCPU registers. This is called virtual machine introspection. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>