Displaying 7 results from an estimated 7 matches for "varst".
Did you mean:
vars
2015 Jan 21
0
[PATCH] aarch64: appliance: Use AAVMF (UEFI) if available for running the appliance.
.../
+int
+guestfs___get_uefi (guestfs_h *g, char **code, char **vars)
+{
+ if (access (AAVMF_DIR "/AAVMF_CODE.fd", R_OK) == 0 &&
+ access (AAVMF_DIR "/AAVMF_VARS.fd", R_OK) == 0) {
+ CLEANUP_CMD_CLOSE struct command *copycmd = guestfs___new_command (g);
+ char *varst;
+ int r;
+
+ /* Make a copy of AAVMF_VARS.fd. You can't just map it into the
+ * address space read-only as that triggers a different path
+ * inside UEFI.
+ */
+ varst = safe_asprintf (g, "%s/AAVMF_VARS.fd.%d", g->tmpdir, ++g->unique);
+ guestfs___cmd_...
2017 Sep 19
0
[PATCH 6/6] lib: Use guestfs_int_make_temp_path in a few more places.
...c
index 986989e67..38dd2ef6d 100644
--- a/lib/appliance-uefi.c
+++ b/lib/appliance-uefi.c
@@ -74,7 +74,9 @@ guestfs_int_get_uefi (guestfs_h *g, char **code, char **vars, int *flags)
* into the address space read-only as that triggers a different
* path inside UEFI.
*/
- varst = safe_asprintf (g, "%s/vars.fd.%d", g->tmpdir, ++g->unique);
+ varst = guestfs_int_make_temp_path (g, "vars", "fd");
+ if (!varst)
+ return -1;
guestfs_int_cmd_add_arg (copycmd, "cp");
guestfs_int_cmd_add_arg (copycmd, va...
2017 Sep 20
7
[PATCH v2] 0/6] Various clean ups in lib/
v1 -> v2:
- Remove the unnecessary calls to guestfs_int_lazy_make_tmpdir
in the final patch.
Rich.
2017 Sep 19
7
[PATCH 0/6] Various clean ups in lib/
Miscellaneous small cleanups in lib/ directory.
Rich.
2016 Aug 17
1
[PATCH] v2v: Use OVMF secure boot file (RHBZ#1367615).
This is only lightly tested. In particularly I only tested that the
non-secure-boot path still works. I didn't test it on RHEL 7.3 yet
because I haven't got enough free disk space for these giant source
*.ova files :-( Will try to give that a go later.
Rich.
2016 Aug 18
3
[PATCH v2 0/2] v2v: Use OVMF secure boot file (RHBZ#1367615).
First version was posted here:
https://www.redhat.com/archives/libguestfs/2016-August/thread.html#00100
This is semantically the same as the first version. However
I've split the patch up into two parts. In the first part,
I factor out the UEFI paths so now they are created by the
generator and written in the library and v2v/ directory directly,
instead of the complex business of having a C
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.